refactor: 优化代码规范和可读性

This commit is contained in:
Ray.Hao
2026-05-25 22:22:42 +08:00
parent e3e5b87f89
commit 2a538d7da7
56 changed files with 324 additions and 294 deletions

View File

@@ -20,6 +20,7 @@ import "animate.css";
import { setupDirective } from "@/directives";
import { setupRouter } from "@/router";
import { setupStore } from "@/stores";
import { setupI18n } from "@/lang";
// ===== 全局组件 =====
import * as ElementPlusIcons from "@element-plus/icons-vue";
@@ -40,6 +41,7 @@ const app = createApp(App);
// 1⃣ 核心配置
setupDirective(app);
setupI18n(app);
setupRouter(app);
setupStore(app);