Merge branch 'nazarlitvin-pagination' into develop

This commit is contained in:
zuiidea
2017-11-24 10:24:56 +08:00
+1 -1
View File
@@ -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,