docs: fix error in migration guide (#11909)

This commit is contained in:
inottn 2023-05-26 21:11:18 +08:00 committed by GitHub
parent e98e514acf
commit f53b7e13ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -274,7 +274,7 @@ Notify.clear();
### ImagePreview 调用方式调整
Vant 4 中,`ImagePreview` 组件的调用方式也进行了调整,与 `ImagePreview` 组件的改动一致:
Vant 4 中,`ImagePreview` 组件的调用方式也进行了调整,与 `Dialog` 组件的改动一致:
```js
// Vant 3