From 4bd6b7d37aeb0360eb9313ba74ce4757b6d2764b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rhett=E9=9C=8D?= <741354752@qq.com> Date: Wed, 18 Mar 2026 11:31:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E5=85=B3=E7=B4=A7=E8=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- vue.config.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8683078..5294cd5 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ npm install # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 npm install --registry=https://registry.npmmirror.com -# 启动服务---请使用npm 12.16.1版本 +# 启动服务---请使用npm 12.16.1版本,12.16启动以后有问题。用16.20.2版本 npm run dev ``` # 账号 admin diff --git a/vue.config.js b/vue.config.js index d7793be..85cc285 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,15 +38,15 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://192.168.0.3:18098`, - // target: `http://192.168.0.151:8099`, //服务器 + // target: `http://172.16.1.97:18098`, + target: `http://192.168.0.3:18098`, //服务器 // target: `http://192.168.3.10:8099`, //耗子 // target: `http://106.15.139.36:18090`, // target: `http://120.79.202.7:443`, // target: `http://100.100.10.216:8099`, // target: 'http://106.15.139.36:18090', - target: 'http://127.0.0.1:18098', + // target: 'http://127.0.0.1:18098', changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''