功能优化
This commit is contained in:
parent
1c6dcbbd84
commit
164a6db7c7
|
|
@ -332,6 +332,7 @@ export default {
|
||||||
handleError(error, file) {
|
handleError(error, file) {
|
||||||
console.error('上传失败:', error)
|
console.error('上传失败:', error)
|
||||||
this.$bus.$emit('endUpload')
|
this.$bus.$emit('endUpload')
|
||||||
|
this.$emit('upload-fail');
|
||||||
this.removeFailedFile(file.uid)
|
this.removeFailedFile(file.uid)
|
||||||
this.isUploading = false
|
this.isUploading = false
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue