Switch support global setting
This commit is contained in:
parent
2968067efc
commit
2211158897
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@
|
|||
size: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['large', 'small', 'default']);
|
||||
},
|
||||
default () {
|
||||
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||
}
|
||||
},
|
||||
name: {
|
||||
|
|
Loading…
Add table
Reference in a new issue