-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
🐛[BUG]从服务器请求菜单文档提供方法菜单不显示 #7530
Comments
+1 |
通过 loading 来让layout 重新渲染,不然会有性能问题
|
menu={{ loading }} |
这个问题我之前解决了!有两个坑! |
@daifuyang 👍 确实! |
这个问题我找了整一天,才解决,全是泪啊! |
这个问题确实坑,今天升级了antd pro和antd版本,发现以前的menuDataRender在组件mount之后不会再次调用。 |
🐛 bug 描述
文档地址
今天删除了node_modules重新拉取新的包后,按上述文档地址切换成动态路由后菜单不显示。
📷 复现步骤
使用最新的antd pro,按找文档方式修改服务器请求菜单,菜单不显示。
🏞 期望结果
菜单能够正常显示
💻 复现代码
© 版本信息
🚑 其他信息
无
The text was updated successfully, but these errors were encountered: