[Doc] Demo: use v-slot shorthand (#3574)

This commit is contained in:
neverland
2019-06-20 17:40:57 +08:00
committed by GitHub
parent d9f2ad6759
commit 5b12d80d97
20 changed files with 36 additions and 39 deletions
+1 -1
View File
@@ -45,7 +45,7 @@
v-model="value6"
active-color="#f44"
>
<template v-slot:button>
<template #button>
<div class="custom-button">{{ value6 }}</div>
</template>
</van-slider>