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文件 }) }