From b61c88e5df3d9b5d7600c21dcda4ad2e83d55b82 Mon Sep 17 00:00:00 2001 From: Zev Zhu <45655660+aibayanyu20@users.noreply.github.com> Date: Fri, 5 May 2023 09:41:34 +0800 Subject: [PATCH] fix(config-provider): fix ConfigProvider.config is not function close #6528 (#6529) --- components/config-provider/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/config-provider/index.tsx b/components/config-provider/index.tsx index e0ce9eb82..506a31092 100644 --- a/components/config-provider/index.tsx +++ b/components/config-provider/index.tsx @@ -289,6 +289,8 @@ const ConfigProvider = defineComponent({ }, }); +ConfigProvider.config = setGlobalConfig; + ConfigProvider.install = function (app: App) { app.component(ConfigProvider.name, ConfigProvider); };