Skip to content

Commit

Permalink
fix: config-provider throw error when use vue@2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Nov 26, 2019
1 parent 910a62e commit 309baa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/config-provider/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const ConfigProvider = {
},
},
render() {
return this.$slots.default ? filterEmpty(this.$slots.default) : null;
return this.$slots.default ? filterEmpty(this.$slots.default)[0] : null;
},
};

Expand Down

0 comments on commit 309baa1

Please sign in to comment.