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

@ -51,7 +51,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;
}
},
loading: Boolean,