From 487ddeadb035147efee9ae045bfe2cf53b778c74 Mon Sep 17 00:00:00 2001 From: lbw Date: Mon, 20 Nov 2023 12:34:11 +0800 Subject: [PATCH] =?UTF-8?q?:recycle:=20Refactoring=20code.=20=E9=87=8D?= =?UTF-8?q?=E6=9E=84=E9=AA=8C=E8=AF=81=E7=A0=81=EF=BC=8C=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=8D=95=E4=BD=93=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/component/password.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/login/component/password.vue b/src/views/login/component/password.vue index 224d571a..aed9543d 100644 --- a/src/views/login/component/password.vue +++ b/src/views/login/component/password.vue @@ -95,7 +95,7 @@ const imgSrc = ref('') //获取验证码图片 const getVerifyCode = () => { state.ruleForm.randomStr = generateUUID() - imgSrc.value = `${import.meta.env.VITE_API_URL}/code?randomStr=${state.ruleForm.randomStr}` + imgSrc.value = `${import.meta.env.VITE_API_URL}${import.meta.env.VITE_IS_MICRO == 'false' ? '/admin' : ''}/code/image?randomStr=${state.ruleForm.randomStr}` } // 账号密码登录