feat:更新代码
This commit is contained in:
@@ -10,7 +10,8 @@ export default defineConfig(({ mode, command }) => {
|
||||
const { VITE_BASE_PATH } = env;
|
||||
return {
|
||||
//生产环境使用相对路径,开发环境用 /
|
||||
base: command === 'build' ? './' : '/',
|
||||
// base: command === 'build' ? './' : '/',
|
||||
base: '/admin/',
|
||||
build: {
|
||||
outDir: 'xSynergy-manage',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user