diff --git a/src/components/rating/Rating.vue b/src/components/rating/Rating.vue index 5c134d0d4..77dd2cf59 100644 --- a/src/components/rating/Rating.vue +++ b/src/components/rating/Rating.vue @@ -10,12 +10,12 @@ export default { props: { value: Number, + disabled: Boolean, + readonly: Boolean, stars: { type: Number, default: 5 }, - readonly: Boolean, - disabled: Boolean, cancel: { type: Boolean, default: true diff --git a/src/views/rating/RatingDemo.vue b/src/views/rating/RatingDemo.vue index 9a57660be..2bf7b26bc 100644 --- a/src/views/rating/RatingDemo.vue +++ b/src/views/rating/RatingDemo.vue @@ -9,7 +9,7 @@

Basic {{val1}}

- +

No Cancel {{val2}}

@@ -20,16 +20,23 @@

Disabled

+ + diff --git a/src/views/rating/RatingDoc.vue b/src/views/rating/RatingDoc.vue new file mode 100644 index 000000000..a2c1e476f --- /dev/null +++ b/src/views/rating/RatingDoc.vue @@ -0,0 +1,183 @@ + \ No newline at end of file