Browse Source

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

pull/3087/head
黄小民 3 years ago
committed by GitHub
parent
commit
c0c3116193
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/components/Form/src/components/ApiTransfer.vue

4
src/components/Form/src/components/ApiTransfer.vue

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

Loading…
Cancel
Save