Skip to content

Commit 309baa1

Browse files
committed
fix: config-provider throw error when use [email protected]
1 parent 910a62e commit 309baa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/config-provider/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const ConfigProvider = {
5454
},
5555
},
5656
render() {
57-
return this.$slots.default ? filterEmpty(this.$slots.default) : null;
57+
return this.$slots.default ? filterEmpty(this.$slots.default)[0] : null;
5858
},
5959
};
6060

0 commit comments

Comments
 (0)