mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] ImagePreview: fix typo (#3790)
This commit is contained in:
parent
2d02288ac8
commit
95c153dd67
@ -58,7 +58,7 @@ setTimeout(() => {
|
|||||||
:images="images"
|
:images="images"
|
||||||
@change="onChange"
|
@change="onChange"
|
||||||
>
|
>
|
||||||
<template v-slot:index>Page: { index }</template>
|
<template v-slot:index>Page: {{ index }}</template>
|
||||||
</van-image-preview>
|
</van-image-preview>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ setTimeout(() => {
|
|||||||
:images="images"
|
:images="images"
|
||||||
@change="onChange"
|
@change="onChange"
|
||||||
>
|
>
|
||||||
<template v-slot:index>第{ index }页</template>
|
<template v-slot:index>第{{ index }}页</template>
|
||||||
</van-image-preview>
|
</van-image-preview>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user