diff --git a/src/index.js b/src/index.js index be79683..747b4e1 100644 --- a/src/index.js +++ b/src/index.js @@ -16,7 +16,7 @@ export default { return this.$scopedSlots.error(this.error) } else if (this.resolved) { return this.$scopedSlots.default(this.data) - } else { + } else if (this.$slots.default && this.$slots.default.length>0){ return this.$slots.default[0] } },