Commit dfdef858 authored by Jikkai Xiao's avatar Jikkai Xiao

Carousel: fix autoplay props

parent 48996c66
......@@ -65,7 +65,7 @@ export default {
type: String,
default: 'hover'
},
autoPlay: {
autoplay: {
type: Boolean,
default: true
},
......@@ -168,7 +168,7 @@ export default {
},
startTimer() {
if (this.interval <= 0 || !this.autoPlay) return;
if (this.interval <= 0 || !this.autoplay) return;
this.timer = setInterval(this.playSlides, this.interval);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment