fix table wathc

This commit is contained in:
2023-06-28 16:14:25 +08:00
parent 7b10791c2b
commit 8a9cd750ae
4 changed files with 21 additions and 14 deletions

View File

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