diff --git a/.env.e2e.example b/.env.e2e.example index 22b5d138f8..17fbad5588 100644 --- a/.env.e2e.example +++ b/.env.e2e.example @@ -18,6 +18,8 @@ __E2E__=true # 启用 mock-collections 插件 APPEND_PRESET_BUILT_IN_PLUGINS=mock-collections +# Load preset local plugins for testing +APPEND_PRESET_LOCAL_PLUGINS= API_BASE_PATH=/api/ API_BASE_URL= diff --git a/packages/core/client/src/schema-component/antd/page/index.ts b/packages/core/client/src/schema-component/antd/page/index.ts index 6f6b803703..a35b072600 100644 --- a/packages/core/client/src/schema-component/antd/page/index.ts +++ b/packages/core/client/src/schema-component/antd/page/index.ts @@ -12,7 +12,7 @@ export * from './FixedBlock'; export * from './FixedBlockDesignerItem'; export * from './Page'; export * from './Page.Settings'; -export { PagePopups } from './PagePopups'; +export { PagePopups, useCurrentPopupContext } from './PagePopups'; export { getStoredPopupContext, storePopupContext } from './pagePopupUtils'; export * from './PageTab.Settings'; export { PopupSettingsProvider, usePopupSettings } from './PopupSettingsProvider';