From fc244b0840f53c42b1d92a8d987710c7c93cf8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Thu, 16 Sep 2021 17:15:05 +0800 Subject: [PATCH] Update rate.vue --- 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 39511c0c..09d27194 100644 --- a/src/components/rate/rate.vue +++ b/src/components/rate/rate.vue @@ -114,7 +114,7 @@ }, watch: { value (val) { - this.currentValue = val; + this.currentValue = val || 0; }, currentValue (val) { this.setHalf(val);