Input support global setting

This commit is contained in:
梁灏 2018-06-28 14:16:03 +08:00
parent be2c319831
commit d18a7ee861

View file

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