当我们使用xlsx插件实现excel导入功能时发现控制台报错
Cannot read properties of undefined (reading read ) at FileReader.reader.onload
查询后发现是xlsx版本问题
重新安装低版本即可解决问题
npm i xlsx@0.16.8
当我们使用xlsx插件实现excel导入功能时发现控制台报错
Cannot read properties of undefined (reading read ) at FileReader.reader.onload
查询后发现是xlsx版本问题
重新安装低版本即可解决问题
npm i xlsx@0.16.8