fix(i18n-auto-imports): 修复菜单翻译缺失时的提示信息
This commit is contained in:
@@ -40,7 +40,7 @@ export const routeI18nInstance = createI18n({
|
|||||||
ToastService.add({
|
ToastService.add({
|
||||||
severity: 'warn',
|
severity: 'warn',
|
||||||
summary: '菜单翻译缺失',
|
summary: '菜单翻译缺失',
|
||||||
detail: "缺少菜单国际化内容: locale='A', key='B'",
|
detail: `菜单翻译缺失: locale=${locale}, key=${key}`,
|
||||||
life: 5000,
|
life: 5000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user