modified: serv_nginx/bbvue/src/views/Profile.vue
delte onAvatarUpload method for methods:
This commit is contained in:
@@ -277,11 +277,6 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async onAvatarUpdated() {
|
||||
this.avatarLoadError = false;
|
||||
await this.authStore.fetchProfile();
|
||||
},
|
||||
|
||||
handleAvatarError() {
|
||||
console.error('Ошибка загрузки аватара:', this.avatarUrl);
|
||||
this.avatarLoadError = true;
|
||||
|
||||
Reference in New Issue
Block a user