From 1ee6a6c330bf1c97ecef5f86596cf6fab53211f5 Mon Sep 17 00:00:00 2001 From: fmk1023 Date: Fri, 12 Dec 2025 17:56:36 +0800 Subject: [PATCH] =?UTF-8?q?Tcode=E5=B9=B3=E5=8F=B0=E6=94=B9=E9=80=A0?= =?UTF-8?q?=E5=8D=87=E7=BA=A7-=E7=99=BB=E5=BD=95=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LoginModal/index.vue | 5 +++-- vite.config.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/LoginModal/index.vue b/src/components/LoginModal/index.vue index f0dc9d2..fa487a8 100644 --- a/src/components/LoginModal/index.vue +++ b/src/components/LoginModal/index.vue @@ -61,7 +61,8 @@ class="verify-input" />
- 验证码图片 + x j 7 2 +
@@ -231,7 +232,7 @@ const handleLogin = async () => { Message.success('登录成功'); // router.push({ name: `Pricing` }); - window.open('/Dashboard', '_blank'); + window.open(`${import.meta.env.VITE_BASE_URL}Dashboard`, '_blank'); emits('close', true); // 关闭弹窗 emits('login-success', { user: 'test' }); } catch (error) { diff --git a/vite.config.ts b/vite.config.ts index a202980..a9f74b5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -38,7 +38,7 @@ export default (config: any) => { }, proxy: { // 配置跨域代理 - '/gateway/official/u-auth': { + '/gateway/official/u-auth/index/getCaptcha': { // target: 'http://223.76.236.155:20011', // 目标服务器地址 target: 'http://222.20.126.217:9700', // 目标服务器地址 changeOrigin: true, // 允许跨域