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

@@ -792,7 +792,7 @@ watch(
(old, new1) => {
// tableDataSource
// console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource),old[0] == new1[0],old[1] == new1[1])
if (sxlist.value.keys().length == 0) {
if (Object.keys(sxlist.value).length == 0) {
return;
}
let list: any = [...props.dataSource];