-
-
Notifications
You must be signed in to change notification settings - Fork 8.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
🧐[问题] ant design pro v5 的app.js里面,怎么使用useMemo去监听路由地址变化? #9389
Comments
以下的 Issues 可能会帮助到你 / The following issues may help you
|
这个没办法帮到我 |
方法里面不能用的 hooks的。 | onPageChange | 页面切换时触发 | |
This was referenced Jan 8, 2022
This was referenced Jan 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧐 问题描述
我在v4使用useMeno去监听路由变化,判断是否有权限已经是否登录,但是我现在换到v5版本了,继续使用给我报错了,现在v5怎么写可以监听到路由呢?
💻 示例代码
🚑 其他信息
v4使用useMeno截图
v5截图
v5异常截图
The text was updated successfully, but these errors were encountered: