Select support global setting
This commit is contained in:
parent
486116265d
commit
be2c319831
1 changed files with 3 additions and 0 deletions
|
@ -187,6 +187,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;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
labelInValue: {
|
labelInValue: {
|
||||||
|
|
Loading…
Add table
Reference in a new issue