Defer admin form runtime loading

This commit is contained in:
2026-06-09 19:10:03 +08:00
parent 0cf20cc1ea
commit fbd726ebdf
6 changed files with 46 additions and 7 deletions
+2
View File
@@ -12,6 +12,7 @@ import { $t, setupI18n } from '#/locales';
import { useAppContextStore } from '#/store/app-context';
import App from './app.vue';
import { initMessageAdapter } from './adapter/message';
import { setupElementPlus } from './plugins/element-plus';
import { router } from './router';
@@ -27,6 +28,7 @@ async function bootstrap(namespace: string) {
const app = createApp(App);
setupElementPlus(app);
initMessageAdapter();
// 国际化 i18n 配置
await setupI18n(app);