mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
docs(changelog): add SwitchCell migrate guide
This commit is contained in:
@@ -105,3 +105,11 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
|
||||
##### 废弃组件
|
||||
|
||||
- SwitchCell: 移除此组件,可以直接使用 Cell 和 Switch 组件代替
|
||||
|
||||
```html
|
||||
<van-cell center title="标题">
|
||||
<template #right-icon>
|
||||
<van-switch v-model="checked" size="24" />
|
||||
</template>
|
||||
</van-cell>
|
||||
```
|
||||
|
Reference in New Issue
Block a user