downloads(url) {
const a = document.createElement('a');
a.href = url;
console.log(a.href);
a.download = '文件名';
a.style.display = 'none';
a.target = 'downloadFile';
document.body.appendChild(a); // 兼容火狐
a.click();
document.body.removeChild(a);
},