diff --git a/src/views/ebiz/sale/AttachmentManagement.vue b/src/views/ebiz/sale/AttachmentManagement.vue index c855acc8e..4846e13f7 100644 --- a/src/views/ebiz/sale/AttachmentManagement.vue +++ b/src/views/ebiz/sale/AttachmentManagement.vue @@ -600,7 +600,7 @@ export default { // console.log(type) // 此时可以自行将文件上传至服务器 that.file = file.content - that.imgName = new Date().getTime() + file.file.name + that.imgName = Math.floor(Math.random() * 100).toString() + new Date().getTime() + file.file.name //为图片名加随机数 与时间戳 that.uploadImg() },