From 0b83d075e78acfded07fafe8da133376b2260ef6 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 18 六月 2020 10:26:16 +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