const file = new File([blob], 'test.docx', { type: 'text/plain', lastModified: Date.now() });
console.log(file)
前端blob转file文件
于 2023-06-15 16:26:58 首次发布
const file = new File([blob], 'test.docx', { type: 'text/plain', lastModified: Date.now() });
console.log(file)