From 4e0793221e66ff95e0bf8a8ead3ecbf1add35f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Tue, 10 Jan 2023 16:43:18 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=20=E9=AA=8C=E8=AF=81=E7=A0=81=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/register.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/register.vue b/ruoyi-ui/src/views/register.vue index 35210b8c..41773a09 100644 --- a/ruoyi-ui/src/views/register.vue +++ b/ruoyi-ui/src/views/register.vue @@ -114,10 +114,10 @@ export default { methods: { getCode() { getCodeImg().then(res => { - this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; + this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.data.captchaEnabled; if (this.captchaEnabled) { - this.codeUrl = "data:image/gif;base64," + res.img; - this.registerForm.uuid = res.uuid; + this.codeUrl = "data:image/gif;base64," + res.data.img; + this.registerForm.uuid = res.data.uuid; } }); },