This commit is contained in:
OrangeM21
2020-08-19 13:25:56 +08:00
committed by 老广
parent 738a9c3da1
commit 58313f5fe0

View File

@@ -174,7 +174,7 @@ export default {
handleReject() {
const url = `/api/v1/tickets/tickets/request-asset-perm/${this.object.id}/reject/`
const data = { action: 'reject' }
this.$axios.patch(url, data).then(res => this.reloadPage()).catch(err => this.$message.error(err))
this.$axios.post(url, data).then(res => this.reloadPage()).catch(err => this.$message.error(err))
}
}
}