diff --git a/packages/vant/docs/markdown/migrate-from-v3.en-US.md b/packages/vant/docs/markdown/migrate-from-v3.en-US.md index fa6a3a27d..1248596cf 100644 --- a/packages/vant/docs/markdown/migrate-from-v3.en-US.md +++ b/packages/vant/docs/markdown/migrate-from-v3.en-US.md @@ -274,7 +274,7 @@ Notify.clear(); ### ImagePreview calling method adjustment -In Vant 4, the calling method of the `ImagePreview` component has also been adjusted, which is consistent with the changes of the `ImagePreview` component: +In Vant 4, the calling method of the `ImagePreview` component has also been adjusted, which is consistent with the changes of the `Dialog` component: ```js // Vant 3 diff --git a/packages/vant/docs/markdown/migrate-from-v3.zh-CN.md b/packages/vant/docs/markdown/migrate-from-v3.zh-CN.md index 62743cbcf..94ef72b63 100644 --- a/packages/vant/docs/markdown/migrate-from-v3.zh-CN.md +++ b/packages/vant/docs/markdown/migrate-from-v3.zh-CN.md @@ -274,7 +274,7 @@ Notify.clear(); ### ImagePreview 调用方式调整 -Vant 4 中,`ImagePreview` 组件的调用方式也进行了调整,与 `ImagePreview` 组件的改动一致: +Vant 4 中,`ImagePreview` 组件的调用方式也进行了调整,与 `Dialog` 组件的改动一致: ```js // Vant 3