bug: 文件上传回显问题

This commit is contained in:
fanlin
2021-07-30 09:42:48 +08:00
parent 94954879fc
commit 8ef38aac28
+1 -1
View File
@@ -255,7 +255,7 @@ export default {
uploadSuccess(res, file, fileList) {
if (res.ok) {
// this.value += res.data.id + ','
this.$emit('input', this.value ? this.value + ',' : this.value+ res.data.id + ',')
this.$emit('input', this.value ? this.value + ','+ res.data.id + ',' : this.value+ res.data.id + ',')
this.$emit('success')
this.$message({
message: '文件上传成功',