This commit is contained in:
shijing 2021-11-23 15:19:40 +08:00
parent 1a51a419f3
commit 321b819312
1 changed files with 2 additions and 1 deletions

View File

@ -1025,7 +1025,8 @@
while (n--) {
bufferArray[n] = bytes.charCodeAt(n);
}
return new File([bufferArray ],{ type:'image/png'});
// let fileOfBlob = new File([bufferArray], new Date()+'.jpg');
return new File([bufferArray ],'draw.jpg');
},
//新增记录表