From b05fdbf97eb782c4945d6a61e234ff6ace47f78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Wed, 28 Apr 2021 15:29:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/page/Login.vue | 2 +- src/components/page/PersonalCenter.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/page/Login.vue b/src/components/page/Login.vue index fa4d7e8..c3154b5 100644 --- a/src/components/page/Login.vue +++ b/src/components/page/Login.vue @@ -100,7 +100,7 @@ export default { // this.$post(this.api.updateLogInNumber,{userId: data.userId}).then(res => {}).catch(res => {}); res.message.listValue && this.$config.dynamicRoute && addRoutes(res.message.listValue) this.$message.success('登录成功'); - sessionStorage.setItem('kd_server_username', this.param.username); + sessionStorage.setItem('kd_server_username', this.activeName == '0' ? this.param.username : this.phoneParam.userphone); res.message.retvalue.userAvatars && this.$store.commit("userPhoto", { avatar : res.message.retvalue.userAvatars}) this.$store.commit("userLoginData", { userLogin_id : data.userId,userRole_id: data.roleId,schoolId: data.schoolId,token: data.token,userName: data.userName}); diff --git a/src/components/page/PersonalCenter.vue b/src/components/page/PersonalCenter.vue index cb3aed2..d979643 100644 --- a/src/components/page/PersonalCenter.vue +++ b/src/components/page/PersonalCenter.vue @@ -1048,7 +1048,7 @@ input:focus { margin-top: 10px; width: 80px; height: 80px; - background: url('../../assets/img/img.jpg'); + // background: url('../../assets/img/img.jpg'); border-radius: 50%; .head {