Commit 1952df8cec81140b8f211ebaeba9fd18a17916eb

Authored by leonine
1 parent 14ad3338

修改carousel在IE下 active 样式无效

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/carousel/carousel.vue
... ... @@ -13,7 +13,7 @@
13 13 </button>
14 14 <ul :class="dotsClasses">
15 15 <template v-for="n in slides.length">
16   - <li :class="{ [`${prefixCls}-active`]: n === currentIndex }"
  16 + <li :class="[n === currentIndex ? prefixCls+'-active':'' ]"
17 17 @click="dotsEvent('click', n)"
18 18 @mouseover="dotsEvent('hover', n)">
19 19 <button></button>
... ...