Skip to content

Commit

Permalink
fix bug: refresh after accept
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyu2003 committed Oct 16, 2022
1 parent 4c18310 commit 993e40a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/views/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ const handleAccept = (index: number, row: User) => {
} else {
// message
NOTATION(1, res.request.msg)
// update form
userForm.splice(userForm.length, 0, row)
applyForm.splice(index, 1)
}
})
.catch(err => {
Expand Down

0 comments on commit 993e40a

Please sign in to comment.