mirror of https://github.com/ElemeFE/element
fix: Image update error status
parent
49d367e993
commit
f89fa65442
|
@ -149,6 +149,7 @@
|
|||
this.imageWidth = img.width;
|
||||
this.imageHeight = img.height;
|
||||
this.loading = false;
|
||||
this.error = false;
|
||||
},
|
||||
handleError(e) {
|
||||
this.loading = false;
|
||||
|
|
Loading…
Reference in New Issue