From 52a91517036be37168488cadc7b4ad20e3bfa649 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期三, 23 四月 2025 13:46:55 +0800 Subject: [PATCH] 修改配置文件 --- vue.config.js | 2 +- src/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index 5f56508..4f02aa2 100644 --- a/src/main.js +++ b/src/main.js @@ -64,7 +64,7 @@ Vue.prototype.HaveJson = (val) => { return JSON.parse(JSON.stringify(val)); }; -Vue.prototype.javaApi = "http://192.168.21.53:8001/lims"; +Vue.prototype.javaApi = "http://192.168.21.53:7002/lims"; Vue.prototype.checkPermi = checkPermi; Vue.prototype.uploadHeader = { Authorization: "Bearer " + getToken(), diff --git a/vue.config.js b/vue.config.js index 26e5a99..a760992 100644 --- a/vue.config.js +++ b/vue.config.js @@ -36,7 +36,7 @@ proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8001`, + target: `http://localhost:7002`, changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_BASE_API]: "", -- Gitblit v1.9.3