mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 00:12:53 +08:00
增加随机数
This commit is contained in:
@@ -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()
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user