Radio support global setting
This commit is contained in:
parent
d18a7ee861
commit
35f7a4ae12
2 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,9 @@
|
|||
size: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['small', 'large', 'default']);
|
||||
},
|
||||
default () {
|
||||
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||
}
|
||||
},
|
||||
type: {
|
||||
|
|
|
@ -46,6 +46,9 @@
|
|||
size: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['small', 'large', 'default']);
|
||||
},
|
||||
default () {
|
||||
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||
}
|
||||
},
|
||||
name: {
|
||||
|
|
Loading…
Add table
Reference in a new issue