feat(i18n): 引入 routeI18nInstance 以支持路由菜单标题的多语言处理
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 5m9s
CI/CD Pipeline / build-and-deploy (push) Successful in 2m48s

This commit is contained in:
严浩
2025-11-03 15:03:22 +08:00
parent b4fcde324d
commit f9f82e4d29
6 changed files with 49 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
import type { I18nOptions } from 'vue-i18n';
const modules = import.meta.glob(['./*.ts', '!./route-messages-auto-imports'], {
eager: true,
eager: true /* true 为同步false 为异步 */,
import: 'default',
});