Skip to content

Commit

Permalink
fix: 修复有些页面toast不显示的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulter committed Apr 18, 2024
1 parent bb07c40 commit b555f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/pages/service.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export default {
toast(text, color = 'error') {
this.snackbar.text = text
this.snackbar.color = color
this.snackbar.show = true
},
go(url) {
Expand Down
1 change: 1 addition & 0 deletions frontend/src/pages/world.vue
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ export default {
toast(text, color = 'error') {
this.snackbar.text = text
this.snackbar.color = color
this.snackbar.show = true
},
recallPost(post) {
console.log(post)
Expand Down

0 comments on commit b555f26

Please sign in to comment.