前端vue 模拟a标签方法

downloadClick(row) {
var a = document.createElement(‘a’)
a.setAttribute(‘href’, row.invoiceAddress)
document.body.appendChild(a)
a.click()
}

你可能感兴趣的:(生产工具)