fix: 修复优惠券列表查询重置

This commit is contained in:
zhangds 2022-10-28 16:17:36 +08:00
parent 885b748419
commit 9d6268d4f7
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ const UseCouponList = () => {
const selectionFun = () => {};
const searchCallback = () => {
setState({ isQuery: !state.isQuery });
setState({ page: 1, limit: 10, isQuery: !state.isQuery });
};
const onPageChange = (data) => {
setState({ page: data, isQuery: !state.isQuery });