Button support global size
This commit is contained in:
parent
517917a2ad
commit
486116265d
2 changed files with 5 additions and 1 deletions
|
@ -47,6 +47,9 @@
|
|||
size: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['small', 'large', 'default']);
|
||||
},
|
||||
default () {
|
||||
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||
}
|
||||
},
|
||||
loading: Boolean,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue