diff --git a/vue.config.js b/vue.config.js index fd91d71..86367af 100644 --- a/vue.config.js +++ b/vue.config.js @@ -25,6 +25,7 @@ module.exports = defineConfig({ //target: "http://192.168.1.190:8080", //190 需要去掉/Api // target: "http://61.169.135.146:9911/", //运维 覆冰 target: "http://61.169.135.146:40080/", //dell + //target: "http://192.168.50.198:8093", //java本机 changOrigin: true, //是否开启跨域 pathRewrite: { "^/api": "/api", //重写api,把api变成空字符,因为我们真正请求的路径是没有api的