From a1db2a11705ffddda1bc6d05308ca0df9639a1f4 Mon Sep 17 00:00:00 2001 From: shishengjie Date: Wed, 16 Oct 2019 11:07:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=9A=8F=E6=9C=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/AttachmentManagement.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() },