vue中预览word文档
时间: 2023-10-14 14:04:43 浏览: 113
在Vue中预览Word文档有两种方式。一种是纯前端预览,另一种是上传后预览。
对于纯前端预览,你可以使用input或者组件等方式选择文件后,在前端进行预览,此时还没有上传给后端。具体实现可以根据需求选择相应的方法。 [3<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [vue 预览 word](https://blog.csdn.net/qq_37299479/article/details/128814211)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Vue - element-ui 中预览 word 、exce、ppt以及pdf文件](https://blog.csdn.net/weixin_44326007/article/details/99693479)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文