refactor: ♻️ 优化布局组织结构和提升代码可读性

This commit is contained in:
Ray.Hao
2025-09-15 13:27:25 +08:00
parent 474c0e9c35
commit bf8e379616
11 changed files with 112 additions and 77 deletions

View File

@@ -5,7 +5,7 @@ import router from "@/router";
import MenuAPI, { type RouteVO } from "@/api/system/menu-api";
const modules = import.meta.glob("../../views/**/**.vue");
const Layout = () => import("@/layouts/modes/index.vue");
const Layout = () => import("@/layouts/index.vue");
export const usePermissionStore = defineStore("permission", () => {
// 所有路由(静态路由 + 动态路由)