mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-29 04:14:12 +00:00
fix incorrect pagination property
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ export default modelExtend(pageModel, {
|
||||
setup ({ dispatch, history }) {
|
||||
history.listen((location) => {
|
||||
if (location.pathname === '/user') {
|
||||
const payload = location.query || { current: 1, pageSize: 10 }
|
||||
const payload = location.query || { page: 1, pageSize: 10 }
|
||||
dispatch({
|
||||
type: 'query',
|
||||
payload,
|
||||
|
||||
Reference in New Issue
Block a user