test table

This commit is contained in:
Theluyuan 2023-08-03 14:30:10 +08:00
parent 85769bf2a8
commit 0a1d29ffb8
4 changed files with 14 additions and 5 deletions

View File

@ -1131,6 +1131,10 @@ const _sfc_main = defineComponent({
tmp.total = tableDataSource.value.length;
emit("update:page", tmp);
sxlist.value = {};
change({
limit: props.page.limit,
current: props.page.current
});
}
});
const change = function(page) {

View File

@ -19578,6 +19578,10 @@ const _sfc_main$D = defineComponent({
tmp.total = tableDataSource.value.length;
emit("update:page", tmp);
sxlist.value = {};
change3({
limit: props.page.limit,
current: props.page.current
});
}
});
const change3 = function(page) {

View File

@ -347,10 +347,11 @@ watch(tableDataSource, () => {
emit("update:page", tmp);
// tableDataSource.value = endlist
sxlist.value = {};
// change({
// limit: props.page.limit,
// current: pagecurrent || props.page.current,
// });
// pagecurrent ||
change({
limit: props.page.limit,
current: props.page.current,
});
}
});
let pagecurrent: number;

File diff suppressed because one or more lines are too long