From 3b3add749840ae9e9930822586ae5cad4a35de0a Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期二, 05 十二月 2023 23:02:02 +0800
Subject: [PATCH] 修改了target

---
 ruoyi-ui/src/views/register.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/views/register.vue b/ruoyi-ui/src/views/register.vue
index 35d3730..267e6dd 100644
--- a/ruoyi-ui/src/views/register.vue
+++ b/ruoyi-ui/src/views/register.vue
@@ -115,8 +115,8 @@
       getCodeImg().then(res => {
         this.captchaEnabled = res.captchaEnabled === undefined ? true : res.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;
         }
       });
     },
@@ -145,7 +145,7 @@
 };
 </script>
 
-<style rel="stylesheet/scss" lang="scss">
+<style rel="stylesheet/scss" scoped>
 .register {
   display: flex;
   justify-content: center;

--
Gitblit v1.9.1