|
@@ -109,6 +109,10 @@ export default {
|
|
activeIndex(val, oldVal) {
|
|
activeIndex(val, oldVal) {
|
|
this.resetItemPosition();
|
|
this.resetItemPosition();
|
|
this.$emit('change', val, oldVal);
|
|
this.$emit('change', val, oldVal);
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ autoplay(val) {
|
|
|
|
+ val ? this.startTimer() : this.pauseTimer();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|