Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

excel文件识别有误显示空白 #281

Closed
javachens opened this issue May 11, 2024 · 1 comment
Closed

excel文件识别有误显示空白 #281

javachens opened this issue May 11, 2024 · 1 comment

Comments

@javachens
Copy link

javachens commented May 11, 2024

组件加载Excel文件时候识别不了xls文件,加载不了数据
组件名称及版本: "@vue-office/excel": "^1.7.8",
运行环境:
浏览器:谷歌浏览器
vue版本:"vue": "^3.3.8",
打包工具及版本:"vite": "4.5.0",
@vue-office_excel.js?v=7bc1c683:47432 Error: Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html
at c3.readEndOfCentral (@vue-office_excel.js?v=7bc1c683:23482:137)
at c3.load (@vue-office_excel.js?v=7bc1c683:23502:48)
at @vue-office_excel.js?v=7bc1c683:22752:31

@501351981
Copy link
Owner

预览xls文件需要配置属性 :options="{xls: true}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants