From e124db75314e67ab1262f6615e9aa1d2cc3768fa Mon Sep 17 00:00:00 2001 From: inottn Date: Sat, 13 May 2023 20:22:38 +0800 Subject: [PATCH] docs(ImagePreview): fix docs error (#11841) --- packages/vant/src/image-preview/README.md | 6 +++--- packages/vant/src/image-preview/README.zh-CN.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/vant/src/image-preview/README.md b/packages/vant/src/image-preview/README.md index bd33325a0..04d1bbc7c 100644 --- a/packages/vant/src/image-preview/README.md +++ b/packages/vant/src/image-preview/README.md @@ -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 diff --git a/packages/vant/src/image-preview/README.zh-CN.md b/packages/vant/src/image-preview/README.zh-CN.md index da618d3ac..7dd45feeb 100644 --- a/packages/vant/src/image-preview/README.zh-CN.md +++ b/packages/vant/src/image-preview/README.zh-CN.md @@ -188,9 +188,9 @@ export default { Vant 中导出了以下 ImagePreview 相关的辅助函数: -| 方法名 | 说明 | 参数 | 返回值 | -| ---------------- | ------------ | --------- | -------------------- | ----------------- | -| showImagePreview | 展示图片预览 | `string[] | ImagePreviewOptions` | imagePreview 实例 | +| 方法名 | 说明 | 参数 | 返回值 | +| --- | --- | --- | --- | +| showImagePreview | 展示图片预览 | _string[] \| ImagePreviewOptions_ | ImagePreview 实例 | ### ImagePreviewOptions