Explorar o código

feat: 还原调试

zhangjie hai 1 mes
pai
achega
5cbc3c4185
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      vite.config.ts

+ 2 - 2
vite.config.ts

@@ -21,8 +21,8 @@ function mockDevLogin(): Plugin {
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  // base: env.NODE_ENV === "development" ? env.VUE_APP_DEV_BASE_URL : undefined,
-  base: "/web/",
+  base: env.NODE_ENV === "development" ? env.VUE_APP_DEV_BASE_URL : undefined,
+  // base: "/web/",
   plugins: [
     vue({
       reactivityTransform: true,