diff --git a/src/views/Report/ReportList.vue b/src/views/Report/ReportList.vue index c0aeac6..cc6d310 100644 --- a/src/views/Report/ReportList.vue +++ b/src/views/Report/ReportList.vue @@ -424,6 +424,7 @@ export default { // }).then(() => { this.$api.report.reportDownload({reportId:row.id}).then(res => { downloadFile(res) + this.reportList() }) // }) }, diff --git a/src/views/userCenter/collect/index.vue b/src/views/userCenter/collect/index.vue index d0d07e1..7322f3f 100644 --- a/src/views/userCenter/collect/index.vue +++ b/src/views/userCenter/collect/index.vue @@ -427,9 +427,11 @@ export default { // cancelButtonText: '取消', // type: 'warning' // }).then(() => { - this.$api.report.reportDownload({fileId: row.fileId,repostId:row.id}).then(res => { + this.$api.report.reportDownload({reportId:row.id}).then(res => { downloadFile(res) + this.reportList() }) + // }) }, collectReport(id){