ant-design-vue-pro
ant-design-vue-pro copied to clipboard
改成后端动态路由后,语言切换对菜单栏没有生效,求助!
Question (问题描述)
How to use component s-table paging
后端按mock中的数据返回了,改成了动态路由,登陆后,切换语言,左侧菜单栏语言没有对应切换,locales中已经配置了。
Describe the solution you'd like (你期待的是什么?)
A clear and concise description of what you want to happen.
Additional context(附加信息) Add any other context or screenshots about the feature request here.
语言跟动态菜单没太大关系哦,都是靠 i18n 通过翻译 key 去翻译的。
我也遇到这个问题了,解决了么
我也遇到了这个问题,解决了么
接口返回的时候title改为‘menu.name'即可