JS 文件是 blob 想转换为 file 对象的方法

如果我们获取到文件是 blob 想转换为 file 对象的方法:

var file = new File([blob], fileName, { type: "image/png", lastModified: Date.now() });