From 61593c7f55cf24d81746aa041e60d0ccccd8b80a Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 19 六月 2020 09:30:08 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/login.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/login.html b/src/main/webapp/views/login.html
index ddcefa8..d8442c9 100644
--- a/src/main/webapp/views/login.html
+++ b/src/main/webapp/views/login.html
@@ -141,8 +141,8 @@
         url: baseUrl+"/code/switch.action",
         async: false,
         success: function (res) {
-            codeSwitch = res.data;
-            if (codeSwitch === 'N'){
+            if (res.data === 'N'){
+                codeSwitch = res.data;
                 $('#code-box').css("display", "none");
             }
         }

--
Gitblit v1.9.1