fix table
This commit is contained in:
parent
1c2def6a48
commit
9a91bf030d
@ -1128,6 +1128,7 @@ const _sfc_main = defineComponent({
|
|||||||
let tmp = { ...props.page };
|
let tmp = { ...props.page };
|
||||||
tmp.total = tableDataSource.value.length;
|
tmp.total = tableDataSource.value.length;
|
||||||
emit("update:page", tmp);
|
emit("update:page", tmp);
|
||||||
|
sxlist.value = [];
|
||||||
change({
|
change({
|
||||||
limit: props.page.limit,
|
limit: props.page.limit,
|
||||||
current: pagecurrent || props.page.current
|
current: pagecurrent || props.page.current
|
||||||
|
@ -19575,6 +19575,7 @@ const _sfc_main$D = defineComponent({
|
|||||||
let tmp = { ...props.page };
|
let tmp = { ...props.page };
|
||||||
tmp.total = tableDataSource.value.length;
|
tmp.total = tableDataSource.value.length;
|
||||||
emit("update:page", tmp);
|
emit("update:page", tmp);
|
||||||
|
sxlist.value = [];
|
||||||
change3({
|
change3({
|
||||||
limit: props.page.limit,
|
limit: props.page.limit,
|
||||||
current: pagecurrent || props.page.current
|
current: pagecurrent || props.page.current
|
||||||
|
@ -344,6 +344,7 @@ watch(tableDataSource, () => {
|
|||||||
tmp.total = tableDataSource.value.length;
|
tmp.total = tableDataSource.value.length;
|
||||||
emit("update:page", tmp);
|
emit("update:page", tmp);
|
||||||
// tableDataSource.value = endlist
|
// tableDataSource.value = endlist
|
||||||
|
sxlist.value = []
|
||||||
change({
|
change({
|
||||||
limit: props.page.limit,
|
limit: props.page.limit,
|
||||||
current: pagecurrent || props.page.current
|
current: pagecurrent || props.page.current
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user