From a25746ea0a8362e41f9c53e500170885f2cfa990 Mon Sep 17 00:00:00 2001 From: jingbowen <970029315@qq.com> Date: Thu, 11 Aug 2022 11:11:33 +0800 Subject: [PATCH] =?UTF-8?q?word=E6=96=87=E6=A1=A3=E5=90=8D=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/home/basic-info/unit-details/unit-details.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/home/basic-info/unit-details/unit-details.component.ts b/src/app/home/basic-info/unit-details/unit-details.component.ts index a883620..ad8d68e 100644 --- a/src/app/home/basic-info/unit-details/unit-details.component.ts +++ b/src/app/home/basic-info/unit-details/unit-details.component.ts @@ -774,7 +774,7 @@ export class UnitDetailsComponent implements OnInit { ` const fileData = asBlob(htmlString).then((data: any) => { - saveAs(data, 'file.docx') // 保存为docx文件 + saveAs(data, this.datas.basicInfo.name+'基本信息.docx') // 保存为docx文件 }) }