Update carousel.vue

修复组件外指定value时不更新组件内容
This commit is contained in:
liumiaoxiang 2017-12-19 17:55:39 +08:00 committed by GitHub
parent e6508e277f
commit b873063c2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -308,6 +308,7 @@
},
value (val) {
this.currentIndex = val;
this.trackIndex = val;
}
},
mounted () {