fix: 修正代理目标地址并优化组件导入顺序

This commit is contained in:
吃货
2025-07-05 07:52:29 +08:00
parent 59cf72ab9c
commit 280e79c55f
3 changed files with 3 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ export default defineConfig(async () => {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/admin-api/, ''),
// mock代理目标地址
target: 'http://localhost:48081/admin-api',
target: 'http://localhost:48080/admin-api',
ws: true,
},
},