修正部分Bug

This commit is contained in:
2025-07-24 16:51:31 +08:00
parent f41444f3f6
commit aab2bc1074
3 changed files with 274 additions and 289 deletions

View File

@@ -2,13 +2,13 @@ const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
});
const port=1573;
const port = 1573;
module.exports = {
devServer: {
port:port,
port: port,
proxy: {
'/api': {
target: 'http://localhost:10002', // 后端接口的地址
target: 'http://127.0.0.1:10002', // 后端接口的地址
changeOrigin: true,
pathRewrite: {
'^/api': '', // 如果您的后端API路径不包含'/api',可以删除这一行