mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] IndexBar: should update when index-list updated (#3943)
This commit is contained in:
parent
012fd851c1
commit
4d0d54dbf4
@ -76,6 +76,12 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
indexList() {
|
||||
this.$nextTick(this.onScroll);
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
onScroll() {
|
||||
let scrollTop;
|
||||
|
Loading…
x
Reference in New Issue
Block a user