From 855fc276e15d43f0736fcbc8089a66be30cbc091 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Wed, 17 Nov 2021 18:58:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/header/index.vue | 3 ++- src/pages/account/login/index.vue | 8 ++++---- src/pages/assessment/add/index.vue | 2 +- src/pages/assessment/list/index.vue | 29 ++++++++++++++++++++++++++++- src/pages/setting/person/index.vue | 6 ++++-- src/store/modules/user.js | 1 + 6 files changed, 40 insertions(+), 9 deletions(-) diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index f38093c..86a12de 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -21,6 +21,7 @@ export default { data() { return { isHh: Setting.isHh, + avatar:'', }; }, computed: { @@ -32,7 +33,7 @@ export default { ]) }, mounted(){ - + this.avatar = sessionStorage.getItem('userAvatars') }, methods: { ...mapActions('user', [ diff --git a/src/pages/account/login/index.vue b/src/pages/account/login/index.vue index 1292a50..2d0ec8b 100644 --- a/src/pages/account/login/index.vue +++ b/src/pages/account/login/index.vue @@ -1,9 +1,9 @@