mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
docs(ImagePreview): fix component call demo
This commit is contained in:
@@ -28,7 +28,11 @@
|
||||
<van-cell is-link @click="componentCall">
|
||||
{{ t('componentCall') }}
|
||||
</van-cell>
|
||||
<van-image-preview v-model="show" :images="images" @change="onChange">
|
||||
<van-image-preview
|
||||
v-model:show="show"
|
||||
:images="images"
|
||||
@change="onChange"
|
||||
>
|
||||
<template #index>{{ t('index', index) }}</template>
|
||||
</van-image-preview>
|
||||
</demo-block>
|
||||
|
Reference in New Issue
Block a user