From dfdef858d9467cfad693428841ed85da73cfa788 Mon Sep 17 00:00:00 2001 From: Jikkai Xiao Date: Tue, 10 Jan 2017 17:00:33 +0800 Subject: [PATCH] Carousel: fix autoplay props --- packages/carousel/src/main.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/carousel/src/main.vue b/packages/carousel/src/main.vue index 7bdd898f..6c356e97 100644 --- a/packages/carousel/src/main.vue +++ b/packages/carousel/src/main.vue @@ -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); },