Open LazerChing opened 4 months ago
组件名称及版本:
运行环境:
详细依赖 "dependencies": { "@vue-office/docx": "^1.6.2", "@vue-office/excel": "^1.7.8" }, "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "sa-file-previewer": "^0.1.18", "typescript": "^5.2.2", "vite": "^5.2.0", "vite-plugin-dts": "^3.9.1", "vue": "^3.4.21", "vue-demi": "^0.14.8", "vue-tsc": "^2.0.6" },
我也遇到了,排查了一下,是组件不支持vue3.4;vue降到3.3就解决了
我联系作者,改用纯js库解决了,用法一致
"dependencies": { "@js-preview/docx": "^1.6.2", "@js-preview/excel": "^1.7.8" },
组件名称及版本:
运行环境:
详细依赖 "dependencies": { "@vue-office/docx": "^1.6.2", "@vue-office/excel": "^1.7.8" }, "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "sa-file-previewer": "^0.1.18", "typescript": "^5.2.2", "vite": "^5.2.0", "vite-plugin-dts": "^3.9.1", "vue": "^3.4.21", "vue-demi": "^0.14.8", "vue-tsc": "^2.0.6" },