release 0.9.16

release 0.9.16
This commit is contained in:
梁灏 2017-01-17 16:58:03 +08:00
parent e5ac79258a
commit 6bfdf8f892
3 changed files with 14 additions and 11 deletions

View file

@ -7,7 +7,7 @@
@click="handleClick(item)">
<span :class="[prefixCls + '-star-content']" type="half"></span>
</div>
<div :class="[prefixCls + '-text']" v-if="showText">
<div :class="[prefixCls + '-text']" v-if="showText" v-show="value > 0">
<slot>{{ value }} <template v-if="value <= 1">{{ t('i.rate.star') }}</template><template v-else>{{ t('i.rate.stars') }}</template></slot>
</div>
</div>