mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-21 05:49:16 +08:00
docs: fix error in migration guide (#11909)
This commit is contained in:
parent
e98e514acf
commit
f53b7e13ec
@ -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
|
||||
|
@ -274,7 +274,7 @@ Notify.clear();
|
||||
|
||||
### ImagePreview 调用方式调整
|
||||
|
||||
Vant 4 中,`ImagePreview` 组件的调用方式也进行了调整,与 `ImagePreview` 组件的改动一致:
|
||||
Vant 4 中,`ImagePreview` 组件的调用方式也进行了调整,与 `Dialog` 组件的改动一致:
|
||||
|
||||
```js
|
||||
// Vant 3
|
||||
|
Loading…
x
Reference in New Issue
Block a user