Skip to content

Commit

Permalink
fix(frontend): 不正确的“撤回”改成“取消”
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed May 12, 2024
1 parent 78562c3 commit 2934dbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/pages/world.vue
Original file line number Diff line number Diff line change
Expand Up @@ -345,14 +345,14 @@ export default {
})
.then((response) => {
if (response.data.code === 0) {
this.toast('撤回成功', 'success')
this.toast('取消成功', 'success')
this.getPosts()
} else {
this.toast('撤回失败' + response.data.msg)
this.toast('取消失败' + response.data.msg)
}
})
.catch((error) => {
this.toast('撤回失败' + error.response.data.msg)
this.toast('取消失败' + error.response.data.msg)
console.error(error)
})
},
Expand Down

0 comments on commit 2934dbf

Please sign in to comment.