充电桩详情 配置管理已完成

This commit is contained in:
admin-lmm
2023-06-29 17:14:33 +08:00
parent 44d39d673a
commit 53073ea34b
3 changed files with 37 additions and 80 deletions

View File

@@ -35,9 +35,9 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:8080`,
// target: `http://localhost:8080`,
// 更改代理为本地地址
// target: `http://192.168.2.3:8080`,
target: `http://192.168.2.3:8080`,
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_BASE_API]: "",