fix: #3077 最新代码 ApiTransfer编辑后无法正常显示数据 (#3083)

This commit is contained in:
黄小民
2023-09-27 17:56:31 +08:00
committed by GitHub
parent 10d6cc9b60
commit c0c3116193

View File

@@ -73,9 +73,9 @@
}, [] as TransferItem[]); }, [] as TransferItem[]);
}); });
const getTargetKeys = computed<string[]>(() => { const getTargetKeys = computed<string[]>(() => {
if (unref(_targetKeys).length > 0) { /* if (unref(_targetKeys).length > 0) {
return unref(_targetKeys); return unref(_targetKeys);
} } */
if (Array.isArray(props.value)) { if (Array.isArray(props.value)) {
return props.value; return props.value;
} }