This commit is contained in:
cookfront
2017-04-11 16:34:03 +08:00
parent 548ee9c7ea
commit 7f37332f58
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
>
<slot name="icon">
<i v-if="icon" class="zan-icon" :class="'zan-icon-' + icon"></i>
<slot>
</slot>
<slot name="title">
<span class="zan-cell__text" v-text="title"></span>
<span class="zan-cell__label" v-if="label" v-text="label"></span>