fix(config-provider): fix ConfigProvider.config is not function close #6528 (#6529)

This commit is contained in:
Zev Zhu 2023-05-05 09:41:34 +08:00 committed by GitHub
parent ac93c476d1
commit b61c88e5df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,6 +289,8 @@ const ConfigProvider = defineComponent({
},
});
ConfigProvider.config = setGlobalConfig;
ConfigProvider.install = function (app: App) {
app.component(ConfigProvider.name, ConfigProvider);
};