소스 검색

Carousel: fix console typo bug (#18264)

IceFox 5 년 전
부모
커밋
b903a87ce9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/carousel/src/item.vue

+ 1 - 1
packages/carousel/src/item.vue

@@ -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;