mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
[Doc] ImagePreview: fix typo (#3790)
This commit is contained in:
@@ -58,7 +58,7 @@ setTimeout(() => {
|
||||
:images="images"
|
||||
@change="onChange"
|
||||
>
|
||||
<template v-slot:index>Page: { index }</template>
|
||||
<template v-slot:index>Page: {{ index }}</template>
|
||||
</van-image-preview>
|
||||
```
|
||||
|
||||
|
@@ -68,7 +68,7 @@ setTimeout(() => {
|
||||
:images="images"
|
||||
@change="onChange"
|
||||
>
|
||||
<template v-slot:index>第{ index }页</template>
|
||||
<template v-slot:index>第{{ index }}页</template>
|
||||
</van-image-preview>
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user