fix: 筛选条件变化页数重置

This commit is contained in:
sy2084 2024-08-01 11:36:22 +08:00
parent 01483c626f
commit 03cb51d6e6

View File

@ -45,6 +45,7 @@
:total="total"
:page-size="pageState.perPage"
:hide-on-single-page="false"
:show-size-changer="false"
size="small"
class="pagination-box"
:show-total="total => `共 ${total} 条`"
@ -139,6 +140,7 @@ const getData = () => {
};
const toFilt = useDebounceFn(() => {
pageState.page = 1
getData();
}, 500);