npm run dev 的代理端口从 8998 改为 8997 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@@ -42,7 +42,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
? undefined
: {
"/api": {
- target: "http://localhost:8998",
+ target: "http://localhost:8997",
changeOrigin: true,
// rewrite: (path) => path.replace(/^\/api/upms/, '') // 如需移除 /api 前缀可取消注释
},