From 309baa138a9c9a1885c17ef636c9132349024359 Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Tue, 26 Nov 2019 15:57:22 +0800 Subject: [PATCH] fix: config-provider throw error when use vue@2.5 --- components/config-provider/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/config-provider/index.jsx b/components/config-provider/index.jsx index ab5b9bdf8..062b7bf92 100644 --- a/components/config-provider/index.jsx +++ b/components/config-provider/index.jsx @@ -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; }, };