From 9212149ed6c7c2f19f6e6cf8b188cbc8f5f486b3 Mon Sep 17 00:00:00 2001
From: 梁灏 <admin@aresn.com>
Date: Wed, 12 Jul 2017 13:51:40 +0800
Subject: [PATCH] update Rate

---
 src/components/rate/rate.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/rate/rate.vue b/src/components/rate/rate.vue
index abd74ba..a8773d6 100644
--- a/src/components/rate/rate.vue
+++ b/src/components/rate/rate.vue
@@ -8,7 +8,7 @@
             <span :class="[prefixCls + '-star-content']" type="half"></span>
         </div>
         <div :class="[prefixCls + '-text']" v-if="showText" v-show="currentValue > 0">
-            <slot>{{ currentValue }} <template v-if="currentValue <= 1">{{ t('i.rate.star') }}</template><template v-else>{{ t('i.rate.stars') }}</template></slot>
+            <slot><span>{{ currentValue }}</span> <span v-if="currentValue <= 1">{{ t('i.rate.star') }}</span><span v-else>{{ t('i.rate.stars') }}</span></slot>
         </div>
     </div>
 </template>
--
libgit2 0.21.4