Commit 44c41dbf authored by zhengke's avatar zhengke

优化图名

parent 34f3b595
......@@ -290,7 +290,7 @@
if(datas){
let name = new Date().getTime()+".jpg"
const file = dataURLtoFile(datas, name)
let result = AliyunUpload.UploadAsync(file,`Feature/${TempId.value}_CoverImg`)
let result = AliyunUpload.UploadAsync(file,`Feature/${TempId.value}_CoverImg${name}`)
result.then(res=>{
if(res) {
coverImgStore.setCoverImg(res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment