chore: update menu and route i18n

This commit is contained in:
vben
2020-12-09 00:12:44 +08:00
parent 9bb751475d
commit a0b05e7769
31 changed files with 279 additions and 254 deletions

View File

@@ -31,3 +31,10 @@ export function useI18n(namespace?: string) {
},
};
}
// Why write this function
// Mainly to configure the vscode i18nn ally plugin. This function is only used for routing and menus. Please use useI18n for other places
// 为什么要编写此函数?
// 主要用于配合vscode i18nn ally插件。此功能仅用于路由和菜单。请在其他地方使用useIs18n
export const t = (key: string) => key;