低代码前端完成

This commit is contained in:
aixianling
2022-06-22 11:24:21 +08:00
parent 03bd52194b
commit ff322874e2

View File

@@ -41,7 +41,7 @@ export default {
let blob = new Blob([res], {type: 'application/zip'})
link.style.display = 'none'
link.href = URL.createObjectURL(blob)
link.setAttribute('download', row.name + '.zip')
link.setAttribute('download', 'aicode.zip')
document.body.appendChild(link)
link.click()
document.body.removeChild(link)