纯js实现的docx文件预览 在线地址
import Docx from 'docx-js'
Docx.docx2HTML(evt.target.files[0]).then(docx => {
docx.toHTML(document.getElementById('app'))
});| Name | Name | Last commit date | ||
|---|---|---|---|---|
纯js实现的docx文件预览 在线地址
import Docx from 'docx-js'
Docx.docx2HTML(evt.target.files[0]).then(docx => {
docx.toHTML(document.getElementById('app'))
});