test table

This commit is contained in:
2023-06-28 15:30:16 +08:00
parent 2612c8dfbb
commit e02298f097
4 changed files with 22 additions and 13 deletions

View File

@@ -788,11 +788,14 @@ function desc(event: any) {
function sx(e: any) {
sxlist.value[e.key] = e.list;
}
watch(sxlist,()=>{
console.log("sxlist更新")
})
watch(
[sxlist,()=>props.dataSource],
() => {
// tableDataSource
console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource.value))
console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource))
let list: any = [...props.dataSource];
let endlist: any = [];
for (let i in sxlist.value) {