Переглянути джерело

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;