ant-design-vue-pro icon indicating copy to clipboard operation
ant-design-vue-pro copied to clipboard

改成后端动态路由后,语言切换对菜单栏没有生效,求助!

Open wyy-holding opened this issue 3 years ago • 3 comments

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.

wyy-holding avatar Mar 05 '22 14:03 wyy-holding

语言跟动态菜单没太大关系哦,都是靠 i18n 通过翻译 key 去翻译的。

sendya avatar Mar 09 '22 06:03 sendya

我也遇到这个问题了,解决了么

rong12345 avatar Apr 01 '22 01:04 rong12345

我也遇到了这个问题,解决了么

接口返回的时候title改为‘menu.name'即可

rong12345 avatar Apr 06 '22 03:04 rong12345