mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-14 21:31:43 +00:00
fix scroll to the current chapter fail
This commit is contained in:
parent
5fcd23409a
commit
f49609380d
1 changed files with 3 additions and 1 deletions
|
|
@ -36,7 +36,9 @@ export default {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
value(newVal) {
|
value(newVal) {
|
||||||
this.$nextTick(this.scrollToChapter)
|
setTimeout(() => {
|
||||||
|
this.$nextTick(this.scrollToChapter)
|
||||||
|
},0);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue