Skip to content

Commit

Permalink
Carousel: fix console typo bug (#18264)
Browse files Browse the repository at this point in the history
  • Loading branch information
zengxinhai authored Apr 10, 2020
1 parent 590d7b8 commit b903a87
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 b903a87

Please sign in to comment.