fix: 修复优惠券列表查询重置
This commit is contained in:
parent
885b748419
commit
9d6268d4f7
|
@ -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 });
|
||||
|
|
Loading…
Reference in New Issue