Skip to content

Commit

Permalink
fix old search keyword update bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Number1739 committed Jan 11, 2024
1 parent cfae882 commit f3ab74b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pages/Works.vue
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,11 @@ export default {
},
deep: true,
immediate: true
}
},
'$route.query.keyword'() {
this.reset()
},
},
methods: {
Expand Down

0 comments on commit f3ab74b

Please sign in to comment.