bug 67193

This commit is contained in:
zyx.net
2023-03-28 11:02:04 +08:00
parent 155ddde11f
commit 2396354595
4 changed files with 20 additions and 20 deletions
+5 -5
View File
@@ -133,7 +133,7 @@
// }
// }
// }
this.$message.destroy()
// this.$message.destroy()
},
remove() {
this.fileTypeSatus = true
@@ -153,7 +153,7 @@
})
if (status === 'error') {
this.$emit('uploadSuccess', this.fileList)
this.$message.destroy()
// this.$message.destroy()
this.$message.error(`${info.file.name}` + this.$t('FileUploadFailed'))
} else if (status === 'removed') {
this.myfileList = info.fileList
@@ -167,7 +167,7 @@
})
this.$emit('uploadSuccess', this.fileList)
if (this.myfileList.length > 0) {
this.$message.destroy()
// this.$message.destroy()
this.$message.success(`${info.file.name}` + this.$t('DeletedSuccessfully'))
}
} else if (status === 'done') {
@@ -184,7 +184,7 @@
}
})
this.$emit('uploadSuccess', this.fileList)
this.$message.destroy()
// this.$message.destroy()
this.$message.error(this.$t('UploadMost'))
return
}
@@ -197,7 +197,7 @@
})
this.$emit('uploadSuccess', this.fileList)
if (this.myfileList.length > 0) {
this.$message.destroy()
// this.$message.destroy()
if (file.response.success) {
this.$message.success(`${info.file.name}` + this.$t('FileUploadedSuccessfully'))
}