下载本地exe,我们需要把要下载的静态资源放在static文件夹下test模拟一个标签方法testdownloadClick(row){vara=document.createElement('a')a.setAttribute('href',"/static/codebase/WebComponentsKit.exe")a.setAttribute('download',"WebComponentsKit.exe")document.body.appendChild(a)a.click()~~~~}