【修改】收藏功能
This commit is contained in:
@@ -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()
|
||||||
})
|
})
|
||||||
// })
|
// })
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user