From d80a5794d029c8a5fe58a80464ab0e1ae097c87c Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期二, 05 十二月 2023 21:52:03 +0800
Subject: [PATCH] 增加图像查看功能

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

diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue
index 30ca632..16f5071 100644
--- a/ruoyi-ui/src/views/login.vue
+++ b/ruoyi-ui/src/views/login.vue
@@ -183,7 +183,9 @@
   },
   methods: {
     getCode() {
+
       getCodeImg().then(res => {
+
         this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.captchaEnabled;
         if (this.captchaEnabled) {
           this.codeUrl = "data:image/gif;base64," + res.data.img;
@@ -247,7 +249,7 @@
   align-items: center;
   height: 100%;
   width:  100%;
-  background: no-repeat center/40% url("../assets/images/Group 221.png");
+  background: no-repeat center/40% url("../assets/images/login_logo.png");
   background-color: #FEF7FC;
 
   background-position: 183px 145px;

--
Gitblit v1.9.1