From 98e90b97c2a23d1c6e4893e5e63937ed32613fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0?= <15071126431@163.com> Date: Wed, 28 Apr 2021 15:31:28 +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 | 6 +++--- src/components/page/PersonalCenter.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/page/Login.vue b/src/components/page/Login.vue index ae93a8e..3dc9916 100644 --- a/src/components/page/Login.vue +++ b/src/components/page/Login.vue @@ -5,10 +5,10 @@

- 方案 +

@@ -287,7 +287,7 @@ export default { this.$get(this.api.logins,data).then(res => { this.$post(this.api.updateLogInNumber,{userId: this.userId}).then(res => {}).catch(res => {}); this.$message.success('登录成功'); - sessionStorage.setItem('sta_client_username', this.loginForm.username); + sessionStorage.setItem('sta_client_username', this.activeName == '0' ? this.loginForm.username : this.phoneParam.userphone); this.$store.commit("userLoginData", { userId : this.userId,accountRole: this.roleId,studentId : this.studentId,schoolId: this.schoolId,token: res.message.user.token }); res.message.user.userAvatars && this.$store.commit("userPhoto", { avatar : res.message.user.userAvatars}); this.$store.commit("userName", { userName : res.message.user.userName}); diff --git a/src/components/page/PersonalCenter.vue b/src/components/page/PersonalCenter.vue index 7399be4..354325a 100644 --- a/src/components/page/PersonalCenter.vue +++ b/src/components/page/PersonalCenter.vue @@ -1070,7 +1070,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 {