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

pull/6538/head
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
1 changed files with 2 additions and 0 deletions

View File

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