From 4a006bdab73e0e72e3cf51f3b4f6f1de95b3ec59 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 20 六月 2020 14:35:22 +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