Skip to content

Commit

Permalink
Update runtime.ts.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuoni committed Apr 20, 2023
1 parent 534fcac commit 710774d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/plugins/templates/antd/runtime.ts.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ const getAntdConfig = () => {
}

export function rootContainer(rawContainer) {
const finalConfigProvider = getAntdConfig();
const {
appConfig,
...finalConfigProvider
} = getAntdConfig();
let container = rawContainer;
{{#configProvider}}
if (finalConfigProvider.prefixCls) {
Expand Down Expand Up @@ -70,4 +73,4 @@ export function innerProvider(container: any) {
} = getAntdConfig();
return <App {...finalAppConfig}>{container}</App>;
}
{{/appConfig}}
{{/appConfig}}

0 comments on commit 710774d

Please sign in to comment.