Skip to content

Commit

Permalink
bug(record): fix axios request to post
Browse files Browse the repository at this point in the history
  • Loading branch information
Shxuuer committed Apr 2, 2024
1 parent 3836960 commit a6d4f92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Admin/Record.vue
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export default {
}
if (this.reason) obj.reason = this.reason
this.confirmLoading = true
axios.put(`/pronunciation/${id}/examine`, obj)
axios.post(`/pronunciation/${id}/examine`, obj)
.then(async () => {
await this.filter()
this.$message.success('已审核')
Expand Down

0 comments on commit a6d4f92

Please sign in to comment.