Skip to content

Commit

Permalink
Merge branch 'pagination' of https://github.com/nazarlitvin/antd-admin
Browse files Browse the repository at this point in the history
…into nazarlitvin-pagination
  • Loading branch information
zuiidea committed Nov 24, 2017
2 parents bc754e6 + 38e24ed commit 3d4f2a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3d4f2a8

Please sign in to comment.