test table

This commit is contained in:
2023-06-28 16:05:37 +08:00
parent ca6573f1f4
commit 7b10791c2b
4 changed files with 81 additions and 93 deletions

View File

@@ -353,12 +353,6 @@ watch(tableDataSource, () => {
});
}
});
watch(
() => props.page,
() => {
console.log(props.page, 342);
}
);
let pagecurrent: number;
const change = function (page: any) {
if (props.serverpage) {
@@ -794,9 +788,9 @@ watch(sxlist,()=>{
})
watch(
[sxlist,()=>props.dataSource],
() => {
(old,new1) => {
// tableDataSource
console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource))
console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource),old[0] == new1[0],old[1] == new1[1])
let list: any = [...props.dataSource];
let endlist: any = [];
for (let i in sxlist.value) {