fix table

This commit is contained in:
Theluyuan 2023-06-25 11:46:57 +08:00
parent 1c2def6a48
commit 9a91bf030d
4 changed files with 4 additions and 1 deletions

View File

@ -1128,6 +1128,7 @@ const _sfc_main = defineComponent({
let tmp = { ...props.page };
tmp.total = tableDataSource.value.length;
emit("update:page", tmp);
sxlist.value = [];
change({
limit: props.page.limit,
current: pagecurrent || props.page.current

View File

@ -19575,6 +19575,7 @@ const _sfc_main$D = defineComponent({
let tmp = { ...props.page };
tmp.total = tableDataSource.value.length;
emit("update:page", tmp);
sxlist.value = [];
change3({
limit: props.page.limit,
current: pagecurrent || props.page.current

View File

@ -344,6 +344,7 @@ watch(tableDataSource, () => {
tmp.total = tableDataSource.value.length;
emit("update:page", tmp);
// tableDataSource.value = endlist
sxlist.value = []
change({
limit: props.page.limit,
current: pagecurrent || props.page.current

File diff suppressed because one or more lines are too long