fix user-card avatar falling into permament failed state
This commit is contained in:
parent
6420c93e98
commit
71c12fa3a5
@ -23,6 +23,11 @@ const UserAvatar = {
|
||||
imageLoadError () {
|
||||
this.showPlaceholder = true
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
src () {
|
||||
this.showPlaceholder = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user