Merge branch 'feature/new-sys' into 'master'
fix: 筛选条件变化页数重置 See merge request workbench/y-code!21
This commit is contained in:
commit
2ef55ef8ef
@ -45,6 +45,7 @@
|
|||||||
:total="total"
|
:total="total"
|
||||||
:page-size="pageState.perPage"
|
:page-size="pageState.perPage"
|
||||||
:hide-on-single-page="false"
|
:hide-on-single-page="false"
|
||||||
|
:show-size-changer="false"
|
||||||
size="small"
|
size="small"
|
||||||
class="pagination-box"
|
class="pagination-box"
|
||||||
:show-total="total => `共 ${total} 条`"
|
:show-total="total => `共 ${total} 条`"
|
||||||
@ -139,6 +140,7 @@ const getData = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const toFilt = useDebounceFn(() => {
|
const toFilt = useDebounceFn(() => {
|
||||||
|
pageState.page = 1
|
||||||
getData();
|
getData();
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user