mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 02:31:21 +00:00
[improvement] Swipe: update indicator color (#2324)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<i
|
||||
v-for="index in count"
|
||||
:class="b('indicator', { active: index - 1 === activeIndicator })"
|
||||
:style="indicatorStyle"
|
||||
:style="index - 1 === activeIndicator ? indicatorStyle : null"
|
||||
/>
|
||||
</div>
|
||||
</slot>
|
||||
|
Reference in New Issue
Block a user