diff --git a/src/routes/user/index.js b/src/routes/user/index.js index 696d180..f844100 100644 --- a/src/routes/user/index.js +++ b/src/routes/user/index.js @@ -88,11 +88,12 @@ const User = ({ location, dispatch, user, loading }) => { onFilterChange (value) { dispatch(routerRedux.push({ pathname: location.pathname, - query: { + //history 的 location 属性上不再包含 query。 + search: queryString.stringify({ ...value, page: 1, pageSize, - }, + }), })) }, onSearch (fieldsValue) {