mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(ImagePreview): fix import name (#6233)
This commit is contained in:
parent
e61aa29118
commit
a6f0b31088
@ -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']);
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user