fix: config-provider throw error when use vue@2.5

pull/1483/head
tanjinzhou 2019-11-26 15:57:22 +08:00
parent 910a62eb4a
commit 309baa138a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
},
};