test table

This commit is contained in:
2023-06-28 17:06:41 +08:00
parent 6460676ec9
commit 71e57b93c2
4 changed files with 4 additions and 4 deletions

View File

@@ -1486,7 +1486,7 @@ const _sfc_main = defineComponent({
console.log("sxlist\u66F4\u65B0");
});
watch([() => sxlist, () => props.dataSource], (old, new1) => {
if (sxlist.value.keys().length == 0) {
if (Object.keys(sxlist.value).length == 0) {
return;
}
let list = [...props.dataSource];