AutoComplete support global setting

This commit is contained in:
梁灏 2018-06-28 14:30:18 +08:00
parent 645d482fee
commit 604ae4d3a8

View file

@ -73,6 +73,9 @@
size: {
validator (value) {
return oneOf(value, ['small', 'large', 'default']);
},
default () {
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
}
},
icon: {
@ -90,7 +93,9 @@
},
transfer: {
type: Boolean,
default: false
default () {
return this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
}
},
name: {
type: String