Update carousel.vue
修复组件外指定value时不更新组件内容
This commit is contained in:
parent
e6508e277f
commit
b873063c2a
1 changed files with 1 additions and 0 deletions
|
@ -308,6 +308,7 @@
|
||||||
},
|
},
|
||||||
value (val) {
|
value (val) {
|
||||||
this.currentIndex = val;
|
this.currentIndex = val;
|
||||||
|
this.trackIndex = val;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue