Skip to content

Commit 95d29ba

Browse files
committed
Value props now accepts Number and String
1 parent a7b0f4c commit 95d29ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rate.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
export default {
3636
name: 'rate',
3737
props: {
38-
value: {type: Number},
38+
value: {type: [Number, String]},
3939
name: {type: String, default: 'rate'},
4040
length: {type: Number},
4141
showcount: {type: Boolean},

0 commit comments

Comments
 (0)