Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'page' of undefined #37

Open
yftan opened this issue Sep 7, 2017 · 3 comments
Open

TypeError: Cannot read property 'page' of undefined #37

yftan opened this issue Sep 7, 2017 · 3 comments

Comments

@yftan
Copy link

yftan commented Sep 7, 2017

`我还按按照例子上做的,不知道是不是版本的问题,首先是路由要改,然后遇到了这个问题
123
我下载例子看了,返回的query如果没点分页是空对象,但是我自己的是undefined。

@TryYyou
Copy link

TryYyou commented Sep 18, 2017

请问后面解决了么?

@yftan
Copy link
Author

yftan commented Sep 18, 2017

版本问题,用dva7.X吧,react新版本还没兼容过来

@fordguo
Copy link

fordguo commented Sep 25, 2017

https://github.com/shenggen1987/dva-cli-demo/blob/master/src/models/users.js
用queryString可以解决这个问题,不过还是静等官方解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants