【修改】收藏功能

This commit is contained in:
zhoulingpo
2023-05-30 09:34:20 +08:00
parent dbed5746b0
commit 6ed7925cf1
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -424,6 +424,7 @@ export default {
// }).then(() => { // }).then(() => {
this.$api.report.reportDownload({reportId:row.id}).then(res => { this.$api.report.reportDownload({reportId:row.id}).then(res => {
downloadFile(res) downloadFile(res)
this.reportList()
}) })
// }) // })
}, },
+3 -1
View File
@@ -427,9 +427,11 @@ export default {
// cancelButtonText: '取消', // cancelButtonText: '取消',
// type: 'warning' // type: 'warning'
// }).then(() => { // }).then(() => {
this.$api.report.reportDownload({fileId: row.fileId,repostId:row.id}).then(res => { this.$api.report.reportDownload({reportId:row.id}).then(res => {
downloadFile(res) downloadFile(res)
this.reportList()
}) })
// }) // })
}, },
collectReport(id){ collectReport(id){