fix the user avatar in the top right corner does not update in the desktop version

This commit is contained in:
MaysWind
2024-08-11 12:31:50 +08:00
parent 0d706abbd3
commit 6ccaf89d86
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ export default {
return this.userStore.currentUserNickname || this.$t('User');
},
currentUserAvatar() {
return this.userStore.currentUserAvatar;
return this.userStore.getUserAvatarUrl(this.userStore.currentUserBasicInfo, true);
},
theme: {
get: function () {