//下载模板
function downmodel(url){
const el = document.createElement('a');
el.style.display = 'none';
el.setAttribute('target', '_blank');
el.setAttribute('download', "下载模板");
el.href = url;
document.body.appendChild(el);
el.click();
document.body.removeChild(el);
}
其中URL必须带有IP和端口号的访问路径
搜索
复制