//下载文件 DownloadFile(row) { let a = document.createElement('a'); a.href = 'data:text/plain;charset=utf-8,' + encodeURIComponent(row.APIContent); a.download = row.APIName + ".md"; document.body.appendChild(a); a.click(); document.body.removeChild(a); },