From b87f69b81aada2fddfc1eb903a7a827f8c35675f Mon Sep 17 00:00:00 2001 From: liyanqi <15181887205@163.com> Date: 星期二, 01 十一月 2022 16:12:58 +0800 Subject: [PATCH] fix bug --- src/views/login/index.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index f4982b5..0da15ac 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -118,6 +118,7 @@ handleLogin() { const { username, password } = this.loginForm; const that = this; + console.log(this.login); this.$axios .post("sccg/admin/login", { password, @@ -132,7 +133,7 @@ // 淇濆瓨token sessionStorage.setItem('tokenHead',response.data.tokenHead); // 淇濆瓨鐢ㄦ埛鐧诲綍鍚� - sessionStorage.setItem('name',username) + sessionStorage.setItem('name',username); // 璺宠浆鍒伴椤� that.$router.push("/home"); }else{ @@ -175,6 +176,10 @@ top: 20%; right: 5%; width: 360px; + &:deep(.el-input__inner){ + background-color: #fff !important; + border: 1px solid #dcdfe6 !important; + } } .text { -- Gitblit v1.8.0