download (value) {//下载证书图片
let imgurl = this.static + value //图片地址
let link = document.createElement('a')
fetch(imgurl).then(res => res.blob()).then(blob => { // 将链接地址字符内容转变成blob地址
link.href = URL.createObjectURL(blob)
console.log(link.href)
link.download = 'pic'
link.id='Adownload'
document.body.appendChild(link)
link.click()
document.getElementById('Adownload').remove();
})
},