修改carousel在IE下 active 样式无效
This commit is contained in:
parent
14ad333882
commit
1952df8cec
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
</button>
|
</button>
|
||||||
<ul :class="dotsClasses">
|
<ul :class="dotsClasses">
|
||||||
<template v-for="n in slides.length">
|
<template v-for="n in slides.length">
|
||||||
<li :class="{ [`${prefixCls}-active`]: n === currentIndex }"
|
<li :class="[n === currentIndex ? prefixCls+'-active':'' ]"
|
||||||
@click="dotsEvent('click', n)"
|
@click="dotsEvent('click', n)"
|
||||||
@mouseover="dotsEvent('hover', n)">
|
@mouseover="dotsEvent('hover', n)">
|
||||||
<button></button>
|
<button></button>
|
||||||
|
|
Loading…
Add table
Reference in a new issue