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 @@