Radio add border prop

This commit is contained in:
梁灏 2019-09-15 11:34:15 +08:00
parent 74e5f493b0
commit e87939165e
3 changed files with 46 additions and 10 deletions

View file

@ -53,6 +53,11 @@
},
name: {
type: String
},
// 4.0.0
border: {
type: Boolean,
default: false
}
},
data () {
@ -74,7 +79,8 @@
[`${prefixCls}-wrapper-checked`]: this.currentValue,
[`${prefixCls}-wrapper-disabled`]: this.disabled,
[`${prefixCls}-${this.size}`]: !!this.size,
[`${prefixCls}-focus`]: this.focusWrapper
[`${prefixCls}-focus`]: this.focusWrapper,
[`${prefixCls}-border`]: this.border
}
];
},