fix AutoComplete transfer prop error in global setting

This commit is contained in:
梁灏 2019-12-16 10:43:44 +08:00
parent e3ecfe29c2
commit 3baf0595c2

View file

@ -96,7 +96,7 @@
transfer: {
type: Boolean,
default () {
return this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
return !this.$IVIEW || this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
}
},
name: {