refactor: 重构layout文件命名规范,更易读 (#1110)

This commit is contained in:
xiaoming
2024-04-30 22:27:54 +08:00
committed by GitHub
parent 2f9bc7e187
commit b8159a0d73
53 changed files with 332 additions and 378 deletions

View File

@@ -1,6 +1,6 @@
import { $t } from "@/plugins/i18n";
import { board } from "@/router/enums";
const IFrame = () => import("@/layout/frameView.vue");
const IFrame = () => import("@/layout/frame.vue");
export default {
path: "/board",

View File

@@ -1,6 +1,6 @@
import { $t } from "@/plugins/i18n";
import { formdesign } from "@/router/enums";
const IFrame = () => import("@/layout/frameView.vue");
const IFrame = () => import("@/layout/frame.vue");
export default {
path: "/form-design",

View File

@@ -1,6 +1,6 @@
import { $t } from "@/plugins/i18n";
import { mind } from "@/router/enums";
const IFrame = () => import("@/layout/frameView.vue");
const IFrame = () => import("@/layout/frame.vue");
export default {
path: "/mind-map",

View File

@@ -1,5 +1,5 @@
import { ppt } from "@/router/enums";
const IFrame = () => import("@/layout/frameView.vue");
const IFrame = () => import("@/layout/frame.vue");
export default {
path: "/ppt",

View File

@@ -22,7 +22,7 @@ import { userKey, type DataInfo } from "@/utils/auth";
import { type menuType, routerArrays } from "@/layout/types";
import { useMultiTagsStoreHook } from "@/store/modules/multiTags";
import { usePermissionStoreHook } from "@/store/modules/permission";
const IFrame = () => import("@/layout/frameView.vue");
const IFrame = () => import("@/layout/frame.vue");
// https://cn.vitejs.dev/guide/features.html#glob-import
const modulesRoutes = import.meta.glob("/src/views/**/*.{vue,tsx}");