This commit is contained in:
梁灏 2018-08-07 16:35:27 +08:00
parent d7bcee71d7
commit fe5ffd7f3f
22 changed files with 26 additions and 26 deletions

View file

@ -189,7 +189,7 @@
return oneOf(value, ['small', 'large', 'default']);
},
default () {
return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
return !this.$IVIEW || this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size;
}
},
labelInValue: {
@ -208,7 +208,7 @@
transfer: {
type: Boolean,
default () {
return this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
return !this.$IVIEW || this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
}
},
// Use for AutoComplete