李志伟 3 years ago
parent
commit
fd95c991a2
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      vite.config.js

+ 2
- 1
vite.config.js View File

@@ -24,5 +24,6 @@ export default defineConfig({
24 24
     styleImport({
25 25
       resolves: [VantResolve()],
26 26
     }),
27
-  ]
27
+  ],
28
+  base:'./'
28 29
 })