Commit b873063c2a0e3e0737282eca7637d1b680210bae

Authored by liumiaoxiang
Committed by GitHub
1 parent e6508e27

Update carousel.vue

修复组件外指定value时不更新组件内容
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/components/carousel/carousel.vue
... ... @@ -308,6 +308,7 @@
308 308 },
309 309 value (val) {
310 310 this.currentIndex = val;
  311 + this.trackIndex = val;
311 312 }
312 313 },
313 314 mounted () {
... ...