Browse Source

word文档名修改

非煤矿山灾害智能感知和预警系统
jingbowen 3 years ago
parent
commit
a25746ea0a
  1. 2
      src/app/home/basic-info/unit-details/unit-details.component.ts

2
src/app/home/basic-info/unit-details/unit-details.component.ts

@ -774,7 +774,7 @@ export class UnitDetailsComponent implements OnInit {
</body>
</html>`
const fileData = asBlob(htmlString).then((data: any) => {
saveAs(data, 'file.docx') // 保存为docx文件
saveAs(data, this.datas.basicInfo.name+'基本信息.docx') // 保存为docx文件
})
}

Loading…
Cancel
Save