Skip to content

Commit

Permalink
Carousel: fix console typo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
IceFox authored and IceFox committed Dec 1, 2019
1 parent 6ec5f8e commit 2aa383d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/carousel/src/item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
}
if (parentType === 'card') {
if (parentDirection === 'vertical') {
console.warn('[Element Warn][Carousel]vertical directionis not supported in card mode');
console.warn('[Element Warn][Carousel]vertical direction is not supported in card mode');
}
this.inStage = Math.round(Math.abs(index - activeIndex)) <= 1;
this.active = index === activeIndex;
Expand Down

0 comments on commit 2aa383d

Please sign in to comment.