-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
subscriptions的history.listen获取query,dva1是{},dva2是undefined #1218
Comments
react-router v4 use search |
@zkeyword 按照Demo 可以这样
|
search 获取过来是 空字符 |
@zkeyword search 属性是一个可读可写的字符串,可设置或返回当前 URL 的查询部分(问号 ? 之后的部分)。 没有源码不知到具体原因,可能是你当前的 url 没有查询部分。(就是问号?......) |
参考 sorrycc/blog#48 的 break change 部分,history 的 location 属性上不再包含 query。 |
这边说的还是hash路由的方式吧, dva改为history路由的时候 history.listen回调参数怎么会变化呢? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: