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: {
|
size: {
|
||||||
validator (value) {
|
validator (value) {
|
||||||
return oneOf(value, ['small', 'large', 'default']);
|
return oneOf(value, ['small', 'large', 'default']);
|
||||||
|
},
|
||||||
|
default () {
|
||||||
|
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
type: {
|
type: {
|
||||||
|
|
|
@ -46,6 +46,9 @@
|
||||||
size: {
|
size: {
|
||||||
validator (value) {
|
validator (value) {
|
||||||
return oneOf(value, ['small', 'large', 'default']);
|
return oneOf(value, ['small', 'large', 'default']);
|
||||||
|
},
|
||||||
|
default () {
|
||||||
|
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue