mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[Doc] use v-slot in demos (#3573)
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
icon="shop-o"
|
||||
is-link
|
||||
>
|
||||
<template slot="title">
|
||||
<template v-slot:title>
|
||||
<span class="custom-text">{{ $t('cell') }}</span>
|
||||
<van-tag type="danger">{{ $t('tag') }}</van-tag>
|
||||
</template>
|
||||
@@ -104,7 +104,7 @@
|
||||
/>
|
||||
<van-cell :title="$t('cell')">
|
||||
<van-icon
|
||||
slot="right-icon"
|
||||
v-slot:right-icon
|
||||
name="search"
|
||||
class="custom-icon"
|
||||
/>
|
||||
|
Reference in New Issue
Block a user