mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
docs: remove legacy slot usage
This commit is contained in:
@@ -30,7 +30,9 @@
|
||||
|
||||
<demo-block :title="t('withCell')">
|
||||
<van-cell center :title="t('title')">
|
||||
<van-switch v-model="checked5" slot="right-icon" size="24" />
|
||||
<template #right-icon>
|
||||
<van-switch v-model="checked5" size="24" />
|
||||
</template>
|
||||
</van-cell>
|
||||
</demo-block>
|
||||
</demo-section>
|
||||
|
Reference in New Issue
Block a user