参考帖子1:https://www.cnblogs.com/wanghuizhao/p/16534435.html
参考帖子2:https://blog.csdn.net/2301_77404895/article/details/138278262
参考帖子3:有企鹅的推广https://cloud.tencent.com/developer/information/%E6%9D%A5%E8%87%AAurl%E7%9A%84Javascript%20readAsArrayBuffer
readAsArrayBuffer():以ArrayBuffer类型读取Blob中的内容
export const fileToBuffer = (file) => {return new Promise((resolve) => {const reader = new FileReader()reader.onload = () => {resolve(reader.result)}reader.readAsArrayBuffer(file)})
}
const wb = read(await fileToBuffer(file.raw))