【fix】bug82592 上传失败提示语的问题
This commit is contained in:
@@ -114,7 +114,7 @@ export default {
|
||||
this.uploadFileFlag--
|
||||
this.$emit('uploadSuccess', this.fileList)
|
||||
this.$message.destroy()
|
||||
this.$message.warning(`${info.file.name} ` + this.$t('fileUploadFailed'))
|
||||
this.$message.warning(`${info.file.name} ` + this.$t('uploadFile.uploadFailed'))
|
||||
} else if (status === 'removed') {
|
||||
this.uploadFileFlag--
|
||||
this.myFileList = info.fileList
|
||||
|
||||
@@ -80,7 +80,7 @@ export default {
|
||||
if (status === 'error') {
|
||||
this.$emit('uploadSuccess', this.fileList)
|
||||
this.$message.destroy()
|
||||
this.$message.warning(`${info.file.name}` + this.$t('fileUploadFailed'))
|
||||
this.$message.warning(`${info.file.name}` + this.$t('uploadFile.uploadFailed'))
|
||||
} else if (status === 'removed') {
|
||||
this.myFileList = info.fileList
|
||||
this.fileList = []
|
||||
|
||||
Reference in New Issue
Block a user