[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
+2 -2
View File
@@ -20,7 +20,7 @@
:title="$t('title')"
:thumb="imageURL"
>
<template v-slot:tags>
<template #tags>
<div class="card__tags">
<van-tag
plain
@@ -37,7 +37,7 @@
</div>
</template>
<template v-slot:footer>
<template #footer>
<div class="card__footer">
<van-button
round