This commit is contained in:
wangshiming
2022-04-11 15:13:31 +08:00
parent 5daed2e6cf
commit 269e66ee7e
2 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-03 15:31:52
* @LastEditors : Shiming
* @LastEditTime : 2022-04-11 14:12:35
* @LastEditTime : 2022-04-11 15:13:24
* @FilePath : \\tms-obc-web\\src\\app\\routes\\insurance-management\\services\\insurance-management.service.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -43,6 +43,8 @@ export class InsuranceManagementService extends ShipperBaseService {
const objectUrl = url;
const a = document.createElement('a');
document.body.appendChild(a);
console.log('5555');
a.href = objectUrl;
a.download = '保单.pdf';
if (isIE) {