|
@@ -437,9 +437,11 @@
|
|
|
console.log('rr', row)
|
|
|
const link = document.createElement('a')
|
|
|
link.setAttribute('download', row.name)
|
|
|
+ link.setAttribute('target', '_blank')
|
|
|
if (row.id === null || row.id === undefined || row.id === '') {
|
|
|
await this.ossService.getTemporaryUrl(row.raw.url).then((data) => {
|
|
|
link.setAttribute('href', data.data)
|
|
|
+ link.click()
|
|
|
})
|
|
|
} else {
|
|
|
link.setAttribute('href', row.url)
|
|
@@ -644,6 +646,8 @@
|
|
|
this.orders.push({column: this.$utils.toLine(column.prop), asc: column.order === 'ascending'})
|
|
|
}
|
|
|
this.refreshList()
|
|
|
+ },
|
|
|
+ deleteMsgById (row) {
|
|
|
}
|
|
|
}
|
|
|
}
|