docs(ImagePreview): fix docs error (#11841)

This commit is contained in:
inottn 2023-05-13 20:22:38 +08:00 committed by GitHub
parent 56bb381c82
commit e124db7531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -177,9 +177,9 @@ export default {
Vant exports following ImagePreview utility functions:
| Methods | Description | Attribute | Return value |
| ---------------- | ------------------ | --------- | -------------------- | --------------------- |
| showImagePreview | Show image preview | `string[] | ImagePreviewOptions` | imagePreview Instance |
| Methods | Description | Attribute | Return value |
| --- | --- | --- | --- |
| showImagePreview | Show image preview | _string[] \| ImagePreviewOptions_ | ImagePreview Instance |
### ImagePreviewOptions

View File

@ -188,9 +188,9 @@ export default {
Vant 中导出了以下 ImagePreview 相关的辅助函数:
| 方法名 | 说明 | 参数 | 返回值 |
| ---------------- | ------------ | --------- | -------------------- | ----------------- |
| showImagePreview | 展示图片预览 | `string[] | ImagePreviewOptions` | imagePreview 实例 |
| 方法名 | 说明 | 参数 | 返回值 |
| --- | --- | --- | --- |
| showImagePreview | 展示图片预览 | _string[] \| ImagePreviewOptions_ | ImagePreview 实例 |
### ImagePreviewOptions