diff --git a/examples/routers/radio.vue b/examples/routers/radio.vue index a495fcf..b4e6e21 100644 --- a/examples/routers/radio.vue +++ b/examples/routers/radio.vue @@ -1,32 +1,54 @@ diff --git a/src/components/radio/radio-group.vue b/src/components/radio/radio-group.vue index 5f16194..a6e8b80 100644 --- a/src/components/radio/radio-group.vue +++ b/src/components/radio/radio-group.vue @@ -19,7 +19,7 @@ }, size: { validator (value) { - return oneOf(value, ['small', 'large']); + return oneOf(value, ['small', 'large', 'default']); } }, type: { @@ -44,6 +44,7 @@ `${prefixCls}`, { [`${prefixCls}-${this.size}`]: !!this.size, + [`ivu-radio-${this.size}`]: !!this.size, [`${prefixCls}-${this.type}`]: !!this.type, [`${prefixCls}-vertical`]: this.vertical } diff --git a/src/components/radio/radio.vue b/src/components/radio/radio.vue index 32a6e47..9d17ac7 100644 --- a/src/components/radio/radio.vue +++ b/src/components/radio/radio.vue @@ -12,7 +12,7 @@