html导出word

import { saveAs } from "file-saver";

import { asBlob } from "html-docx-js-typescript";

分页:

			

 

downloadWordWithHtmlString(html, name) {
				let htmlString = `
				
				
				
				  
				  Document