From e19a9df9092a7c463a235ff858be816a92fe9c89 Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Wed, 12 Aug 2026 11:49:51 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E6=94=B9=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .eslintrc-auto-import.json | 4 ++++ vite.config.ts | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index 24845eb..e6af85b 100644 --- a/.env.development +++ b/.env.development @@ -37,4 +37,4 @@ VITE_APP_SSE = true # http://192.168.0.214:8089 # VITE_BASE_API = "http://47.104.208.94:8089" -VITE_BASE_API = "http://192.168.0.214:8089" +VITE_BASE_API = "http://47.104.215.165:8080" diff --git a/.env.production b/.env.production index 5cd37c6..949006b 100644 --- a/.env.production +++ b/.env.production @@ -38,4 +38,4 @@ VITE_APP_WEBSOCKET = false # sse 开关 VITE_APP_SSE = true -VITE_BASE_API = "http://47.104.208.94:8089" +VITE_BASE_API = "http://47.104.215.165:8080" diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index 2ca3adf..d979925 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -5,6 +5,10 @@ "ComputedRef": true, "DirectiveBinding": true, "EffectScope": true, + "ElLoading": true, + "ElMessage": true, + "ElMessageBox": true, + "ElNotification": true, "ExtractDefaultPropTypes": true, "ExtractPropTypes": true, "ExtractPublicPropTypes": true, diff --git a/vite.config.ts b/vite.config.ts index 3d39bda..a20b70f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,7 +25,7 @@ export default defineConfig(({ mode, command }) => { proxy: { [env.VITE_APP_BASE_API]: { // target: 'http://47.104.208.94:8089', - target: 'http://192.168.0.214:8089', + target: 'http://47.104.215.165:8080', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')