fix: 筛选条件变化页数重置
This commit is contained in:
parent
01483c626f
commit
03cb51d6e6
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user