Checkbox support global setting
This commit is contained in:
parent
35f7a4ae12
commit
2968067efc
2 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,9 @@
|
|||
size: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['small', 'large', 'default']);
|
||||
},
|
||||
default () {
|
||||
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -63,6 +63,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