mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[bugfix] IndexBar: should update when index-list updated (#3943)
This commit is contained in:
@@ -76,6 +76,12 @@ export default createComponent({
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
indexList() {
|
||||
this.$nextTick(this.onScroll);
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
onScroll() {
|
||||
let scrollTop;
|
||||
|
Reference in New Issue
Block a user