mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-24 17:24:04 +00:00
Merge branch 'nazarlitvin-pagination' into develop
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