-
-
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
🧐[问题]antd pro v4动态菜单BasicLayout中menuDataRender只渲染一次 #9286
Comments
以下的 Issues 可能会帮助到你 / The following issues may help you
|
用request的,menudataRender 对性能太不友好了。你可以用menu.loading 强行触发更新哦 https://pro.ant.design/zh-CN/docs/advanced-menu 看看这里 |
v4 直接在 baicsLayout 里面设置 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧐 问题描述
想通过后端返回的接口动态渲染菜单,但是BasicLayout中ProLayout的menuDataRender只渲染了一次默认空数组的情况,等到接口返回就不再渲染了。
💻 示例代码
请求返回menuData有值后,menuDataRender没有再次渲染了
🚑 其他信息
The text was updated successfully, but these errors were encountered: