From 35c6f74fab48aa123eda757221146d9079730829 Mon Sep 17 00:00:00 2001 From: zxm Date: Sun, 28 Jun 2020 20:51:20 +0800 Subject: [PATCH] [VersionBeta] V.1.0.0.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Adds] 1.修改切换登录bug --- src/views/login.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 1a334640..41118314 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -273,7 +273,6 @@ export default { if (this.$cookie.get("remember")) { this.account = this.$cookie.get("account"); this.pwd = this.$cookie.get("pwd"); - this.isBackground = true; var backgroundValue = this.$cookie.get("background"); if (backgroundValue == "false") { this.isBackground = false; @@ -421,11 +420,7 @@ export default { */ loginBackManage: function() { this.loginShow = 2; - if(!this.isBackground){ - this.isBackground = true; - }else{ - this.isBackground = false; - } + this.isBackground = true; }, /** * @description: 系统登录 @@ -472,7 +467,7 @@ export default { thisApp.$cookie.set("remember", true); thisApp.$cookie.set("account", thisApp.account); thisApp.$cookie.set("pwd", thisApp.pwd); - thisApp.$cookie.set("background", thisApp.isBackground); + thisApp.$cookie.set("background", thisApp.isBackground); } else { thisApp.$cookie.remove("remember"); thisApp.$cookie.remove("account");