diff --git a/build/plugins.ts b/build/plugins.ts index cb54983eb..f9a3a8ac0 100644 --- a/build/plugins.ts +++ b/build/plugins.ts @@ -12,8 +12,8 @@ import VueI18n from "@intlify/vite-plugin-vue-i18n"; import { visualizer } from "rollup-plugin-visualizer"; import removeConsole from "vite-plugin-remove-console"; import themePreprocessorPlugin from "@pureadmin/theme"; -import { genScssMultipleScopeVars } from "/@/layout/theme"; import DefineOptions from "unplugin-vue-define-options/vite"; +import { genScssMultipleScopeVars } from "../src/layout/theme"; export function getPluginsList( command: string, diff --git a/src/components/ReAuth/src/auth.tsx b/src/components/ReAuth/src/auth.tsx index 442565874..d2cf9b351 100644 --- a/src/components/ReAuth/src/auth.tsx +++ b/src/components/ReAuth/src/auth.tsx @@ -1,5 +1,5 @@ import { defineComponent, Fragment } from "vue"; -import { hasAuth } from "/@/router/utils"; +import { hasAuth } from "@/router/utils"; export default defineComponent({ name: "Auth", diff --git a/src/directives/auth/index.ts b/src/directives/auth/index.ts index 306dfd336..69118d6b4 100644 --- a/src/directives/auth/index.ts +++ b/src/directives/auth/index.ts @@ -1,4 +1,4 @@ -import { hasAuth } from "/@/router/utils"; +import { hasAuth } from "@/router/utils"; import { Directive, type DirectiveBinding } from "vue"; export const auth: Directive = { diff --git a/src/directives/elResizeDetector/index.ts b/src/directives/elResizeDetector/index.ts index 65ac3c34a..af089be7d 100644 --- a/src/directives/elResizeDetector/index.ts +++ b/src/directives/elResizeDetector/index.ts @@ -1,7 +1,7 @@ import { Directive, type DirectiveBinding, type VNode } from "vue"; import elementResizeDetectorMaker from "element-resize-detector"; import type { Erd } from "element-resize-detector"; -import { emitter } from "/@/utils/mitt"; +import { emitter } from "@/utils/mitt"; const erd: Erd = elementResizeDetectorMaker({ strategy: "scroll" diff --git a/src/layout/components/appMain.vue b/src/layout/components/appMain.vue index ba3238a80..e9b54506a 100644 --- a/src/layout/components/appMain.vue +++ b/src/layout/components/appMain.vue @@ -1,8 +1,8 @@