bug入库新增上传了附件,在编辑时,再次上传了一个附件,提交后,查看详情页面,附件为空
This commit is contained in:
@@ -255,7 +255,7 @@ export default {
|
||||
uploadSuccess(res, file, fileList) {
|
||||
if (res.ok) {
|
||||
// this.value += res.data.id + ','
|
||||
this.$emit('input', this.value + res.data.id + ',')
|
||||
this.$emit('input', this.value ? this.value + ',' : this.value+ res.data.id + ',')
|
||||
this.$emit('success')
|
||||
this.$message({
|
||||
message: '文件上传成功',
|
||||
|
||||
Reference in New Issue
Block a user