From f690455888a95302d42b6cc2dbe99acd4a25e0c2 Mon Sep 17 00:00:00 2001 From: xzh <42543075@qq.com> Date: Tue, 22 Jul 2025 20:16:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 7 ------- src/views/login.vue | 6 ------ vite.config.ts | 2 +- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 130b004..fe5adb7 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -43,13 +43,6 @@ - - - - - - - diff --git a/src/views/login.vue b/src/views/login.vue index eebde18..afeb2bb 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -54,12 +54,6 @@ - - - - - - diff --git a/vite.config.ts b/vite.config.ts index 58ca5f2..9114cb6 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,7 +24,7 @@ export default defineConfig(({ mode, command }) => { open: true, proxy: { [env.VITE_APP_BASE_API]: { - target: 'http://localhost:8080', + target: 'http://10.10.10.10:8080', changeOrigin: true, ws: true, rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')