vue.config.js
@@ -35,9 +35,16 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { target: `http://localhost:8080`, target: `http://localhost:8085`, // 付立麒 // target: `http://192.168.3.64:8080`, // target: `http://192.168.3.87:8080`, // 龚焕茏 // target: `http://192.168.137.227:8080`, // 向培 // target: `http://192.168.3.88:8085`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''