docs(ImagePreview): fix component call demo

This commit is contained in:
chenjiahan
2020-08-31 19:25:51 +08:00
parent 476e16ff2d
commit f0675d043a
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ setTimeout(() => {
### Component Call
```html
<van-image-preview v-model="show" :images="images" @change="onChange">
<van-image-preview v-model:show="show" :images="images" @change="onChange">
<template v-slot:index>Page: {{ index }}</template>
</van-image-preview>
```