From 40cefad54b1074a501d3112b20a7cb1e7a1233c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=98=8E?= <1763113879@qq.com> Date: Thu, 16 Nov 2023 16:33:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E5=88=B7=E6=96=B0=E6=BC=8F=E6=B4=9E=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=87=87=E7=94=A8=E5=AD=97=E7=AC=A6=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=EF=BC=9B=E5=BC=80=E5=90=AF=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/login.vue | 4 ++-- .../ruoyi-web-admin/src/main/resources/application-local.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index cdae8dc7..f085c7de 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -87,11 +87,11 @@ export default { ], code: [{ required: true, trigger: "change", message: "请输入验证码" }] }, - loading: false, + // loading: true, // 验证码开关 captchaEnabled: true, // 注册开关 - register: false, + register: true, redirect: undefined }; }, diff --git a/ruoyi-web/ruoyi-web-admin/src/main/resources/application-local.yml b/ruoyi-web/ruoyi-web-admin/src/main/resources/application-local.yml index 775aff3c..ea0c8d4e 100644 --- a/ruoyi-web/ruoyi-web-admin/src/main/resources/application-local.yml +++ b/ruoyi-web/ruoyi-web-admin/src/main/resources/application-local.yml @@ -217,7 +217,7 @@ security: # 验证码 captcha: enabled: true - type: math + type: char # 防止XSS攻击 xss: enabled: true