From ca6be11e2d400ad316e5988bcc89e6c4c90ff6bc Mon Sep 17 00:00:00 2001 From: wangxueliang Date: Thu, 2 Nov 2017 10:56:18 +0800 Subject: [PATCH] optimize rate component --- components/rate/Rate.vue | 21 +++++++++++++++------ components/rate/Star.vue | 2 +- examples/rate.vue | 25 ++++++++++++++++--------- 3 files changed, 32 insertions(+), 16 deletions(-) diff --git a/components/rate/Rate.vue b/components/rate/Rate.vue index ee6f9276b..9ef546c15 100644 --- a/components/rate/Rate.vue +++ b/components/rate/Rate.vue @@ -15,7 +15,7 @@ :key="i"> @@ -24,6 +24,7 @@ diff --git a/examples/rate.vue b/examples/rate.vue index b6f624e7f..741809bb9 100644 --- a/examples/rate.vue +++ b/examples/rate.vue @@ -1,13 +1,15 @@