mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
docs(ImagePreview): fix import name (#6233)
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
ImagePreview 是一个函数,调用函数后展示图片预览
|
ImagePreview 是一个函数,调用函数后展示图片预览
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { Dialog } from 'vant';
|
import { ImagePreview } from 'vant';
|
||||||
|
|
||||||
ImagePreview(['https://img.yzcdn.cn/vant/apple-1.jpg']);
|
ImagePreview(['https://img.yzcdn.cn/vant/apple-1.jpg']);
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user