Browse Source

[修改]修改帮助文档地址

master
邵佳豪 4 years ago
parent
commit
51e837775b
  1. 6
      src/app/tabbar/help-file.service.ts

6
src/app/tabbar/help-file.service.ts

@ -10,7 +10,7 @@ export class HelpFileService {
constructor(private http:HttpClient,) { }
helpFile:any = 'api/ObjectMetadata/help/cjhelp.pdf'; //下载文件的url地址
helpFile:any = 'api/ObjectMetadata/help/数据采集平台手册.pdf'; //下载文件的url地址
download:any; //下载的文件
//获取下载文件信息
@ -34,7 +34,7 @@ export class HelpFileService {
let link = document.createElement("a");
link.style.display = "none";
link.href = url;
link.setAttribute("download", '数据采集平台使用说明.pdf');
link.setAttribute("download", '数据采集平台手册.pdf');
document.body.appendChild(link);
link.click();
})
@ -67,7 +67,7 @@ export class HelpFileService {
let link = document.createElement("a");
link.style.display = "none";
link.href = url;
link.setAttribute("download", '数据采集平台使用说明.pdf');
link.setAttribute("download", '数据采集平台手册.pdf');
document.body.appendChild(link);
link.click();
}

Loading…
Cancel
Save