mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[Doc] Demo: use v-slot shorthand (#3574)
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<van-swipe-item>3</van-swipe-item>
|
||||
<van-swipe-item>4</van-swipe-item>
|
||||
|
||||
<template v-slot:indicator>
|
||||
<template #indicator>
|
||||
<div class="custom-indicator">{{ current + 1 }}/4</div>
|
||||
</template>
|
||||
</van-swipe>
|
||||
|
Reference in New Issue
Block a user