[Doc] ImagePreview: fix typo (#3790)

This commit is contained in:
neverland 2019-07-09 14:14:07 +08:00 committed by GitHub
parent 2d02288ac8
commit 95c153dd67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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>
``` ```

View File

@ -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>
``` ```