Skip to content

Commit

Permalink
fix: 用户主动撤回
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Apr 19, 2024
1 parent b555f26 commit 8515031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/world.vue
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ export default {
},
recallPost(post) {
console.log(post)
this.$axios.post('/v1/post/cancel', {
"post_id": post.id
this.$axios.post('/v1/post/user-cancel', {
"post_id": post
})
.then((response) => {
if (response.data.code === 0) {
Expand Down

1 comment on commit 8515031

@RockChinQ
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个应该是 “取消”,记得改一下那个按钮🤓

Please sign in to comment.