AutoComplete support global setting
This commit is contained in:
parent
645d482fee
commit
604ae4d3a8
1 changed files with 6 additions and 1 deletions
|
@ -73,6 +73,9 @@
|
||||||
size: {
|
size: {
|
||||||
validator (value) {
|
validator (value) {
|
||||||
return oneOf(value, ['small', 'large', 'default']);
|
return oneOf(value, ['small', 'large', 'default']);
|
||||||
|
},
|
||||||
|
default () {
|
||||||
|
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
icon: {
|
icon: {
|
||||||
|
@ -90,7 +93,9 @@
|
||||||
},
|
},
|
||||||
transfer: {
|
transfer: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default () {
|
||||||
|
return this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
name: {
|
name: {
|
||||||
type: String
|
type: String
|
||||||
|
|
Loading…
Add table
Reference in a new issue