Skip to content

Commit

Permalink
'update'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuchentong committed Jul 23, 2024
1 parent 2f2bd46 commit 988b6b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/poetry/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ function onBack() {
function onNext() {
showAnimate = false
poetryService.random().then((data) => {
showAnimate = true
poetry = data
generateContent()
scrollViewId = ''
nextTick(() => {
showAnimate = true
scrollViewId = `poetry-${data.id}`
})
})
Expand Down

0 comments on commit 988b6b0

Please sign in to comment.