提交 b7b675ac 编写于 作者: C chen shuai

fix: fix i18 error

上级 19780739
......@@ -18,7 +18,7 @@ function formatter(data, parentAuthority, parentName) {
}
let locale = 'menu';
if (parentName) {
if (parentName && parentName !== '/') {
locale = `${parentName}.${item.name}`;
} else {
locale = `menu.${item.name}`;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册