Switch support global setting

This commit is contained in:
梁灏 2018-06-28 14:23:51 +08:00
parent 2968067efc
commit 2211158897

View file

@ -41,6 +41,9 @@
size: {
validator (value) {
return oneOf(value, ['large', 'small', 'default']);
},
default () {
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
}
},
name: {