一、步骤 1、下载依赖: npm install --save mammoth 2、在需要展示word文件的页面中引入并使用 <template> <div class="home"> <div v-show="bigImg.type == 'DOCX'" class="word-box" id=&#