mirror of https://github.com/ElemeFE/element
Carousel: fix console typo bug (#18264)
parent
590d7b8356
commit
b903a87ce9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue