mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00
chore: update menu and route i18n
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user