docs(ImagePreview): fix import name (#6233)

This commit is contained in:
chenjiahan 2020-05-08 19:58:58 +08:00
parent e61aa29118
commit a6f0b31088

View File

@ -9,7 +9,7 @@
ImagePreview 是一个函数,调用函数后展示图片预览
```js
import { Dialog } from 'vant';
import { ImagePreview } from 'vant';
ImagePreview(['https://img.yzcdn.cn/vant/apple-1.jpg']);
```