import { saveAs } from "file-saver";
import { asBlob } from "html-docx-js-typescript";
分页:
<span lang=EN-US style="font-size:10.5pt;mso-bidi-font-size:12.0pt;font-family:" mce_style="font-size:10.5pt;mso-bidi-font-size:12.0pt;font-family:Times New Roman;mso-fareast-font-family:宋体;mso-font-kerning:1.0pt;mso-ansi-language EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA"><br clear=all style="page-break-before:always" mce_style="page-break-before:'always'"/></span>
downloadWordWithHtmlString(html, name) {
let htmlString = `
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
body{ padding: 0;ma
更多【c#-html导出word】相关视频教程:www.yxfzedu.com