Spin support global setting
This commit is contained in:
parent
81b641eed7
commit
cdeeeca4e5
1 changed files with 4 additions and 1 deletions
|
@ -20,7 +20,10 @@
|
|||
props: {
|
||||
size: {
|
||||
validator (value) {
|
||||
return oneOf(value, ['small', 'large']);
|
||||
return oneOf(value, ['small', 'large', 'default']);
|
||||
},
|
||||
default () {
|
||||
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||
}
|
||||
},
|
||||
fix: {
|
||||
|
|
Loading…
Add table
Reference in a new issue