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 {