mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 03:44:48 +00:00
[Doc] use v-slot in demos (#3573)
This commit is contained in:
@@ -45,12 +45,9 @@
|
||||
v-model="value6"
|
||||
active-color="#f44"
|
||||
>
|
||||
<div
|
||||
slot="button"
|
||||
class="custom-button"
|
||||
>
|
||||
{{ value6 }}
|
||||
</div>
|
||||
<template v-slot:button>
|
||||
<div class="custom-button">{{ value6 }}</div>
|
||||
</template>
|
||||
</van-slider>
|
||||
</demo-block>
|
||||
|
||||
|
Reference in New Issue
Block a user