Skip to content

Commit 45f5752

Browse files
committed
fix(platform): set page to 1 when filter list
1 parent f553aaf commit 45f5752

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/platform/src/app/routes/list/standard-table/StandardTable.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ export default AppRoute(() => {
238238
});
239239
}}
240240
onSearchClick={() => {
241+
setDeviceQuery((draft) => {
242+
draft.page = 1;
243+
});
241244
setUpdateDeviceTable((n) => n + 1);
242245
}}
243246
onResetClick={() => {

0 commit comments

Comments
 (0)