mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
[improvement] update eslint rules (#2089)
This commit is contained in:
@@ -6,14 +6,22 @@
|
||||
@touchend="onWrapperTouchEnd"
|
||||
@touchcancel="onWrapperTouchEnd"
|
||||
>
|
||||
<div v-if="showIndex" :class="b('index')">{{ active + 1 }}/{{ count }}</div>
|
||||
<div
|
||||
v-if="showIndex"
|
||||
:class="b('index')"
|
||||
>
|
||||
{{ active + 1 }}/{{ count }}
|
||||
</div>
|
||||
<swipe
|
||||
ref="swipe"
|
||||
:initial-swipe="startPosition"
|
||||
:show-indicators="showIndicators"
|
||||
@change="onChange"
|
||||
>
|
||||
<swipe-item v-for="(item, index) in images" :key="index">
|
||||
<swipe-item
|
||||
v-for="(item, index) in images"
|
||||
:key="index"
|
||||
>
|
||||
<img
|
||||
:class="b('image')"
|
||||
:src="item"
|
||||
|
Reference in New Issue
Block a user