diff --git a/packages/plugins/templates/antd/runtime.ts.tpl b/packages/plugins/templates/antd/runtime.ts.tpl index 06eae4b382ab..584b30b63c78 100644 --- a/packages/plugins/templates/antd/runtime.ts.tpl +++ b/packages/plugins/templates/antd/runtime.ts.tpl @@ -1,12 +1,14 @@ import React from 'react'; import { - Modal, ConfigProvider, {{#appConfig}} App, {{/appConfig}} +{{^hasRefactorStaticConfig}} + Modal, message, notification, +{{/hasRefactorStaticConfig}} {{#enableV5ThemeAlgorithm}} theme, {{/enableV5ThemeAlgorithm}}