支持word(.docx)、excel(.xlsx,.xls)、pdf等各类型office文件预览的vue组件集合,提供一站式office文件预览方案,支持vue2和3,也支持React等非Vue框架。Web-based pdf, excel, word preview library
3.61k
stars
432
forks
source link
Vue2.0 打开xlsx文件报错:Corrupted zip: missing 4797 bytes #318
Open
yefengwz opened 1 month ago
打开xlsx文件报错,Corrupted zip: missing 4797 bytes
已经安装: "@vue-office/excel": "^1.7.8", "@vue/composition-api": "^1.7.2", "vue": "2.7.16",
所有API都不是用mockjs了。
下面是报错信息。看到文件大小已经正常获取了,文件大小是75060,是一个标准的xlsx文件
下面是代码