test table

This commit is contained in:
Theluyuan 2023-06-28 16:56:40 +08:00
parent e4369a5f16
commit 025132edb0
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.length == 0) {
if (sxlist.value.keys().length == 0) {
return;
}
let list = [...props.dataSource];

View File

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

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.length == 0) {
if (sxlist.value.keys().length == 0) {
return;
}
let list: any = [...props.dataSource];

File diff suppressed because one or more lines are too long