diff --git a/packages/core/src/EventHelper.ts b/packages/core/src/EventHelper.ts index 2e045bf65..b8e4583a1 100644 --- a/packages/core/src/EventHelper.ts +++ b/packages/core/src/EventHelper.ts @@ -177,7 +177,6 @@ export default class EventHelper extends EventEmitter { * @param args 事件参数 */ private async eventHandler(config: EventConfig | number, fromCpt: TMagicNode | DataSource | undefined, args: any[]) { - console.log('eventHandler', config, fromCpt); const eventConfig = typeof config === 'number' ? (fromCpt as TMagicNode).events[config] : config; if (has(eventConfig, 'actions')) { // EventConfig类型 diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 743f18002..fe504f9cb 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -31,5 +31,6 @@ export { default as Env } from './Env'; export { default as Page } from './Page'; export { default as Node } from './Node'; export { default as IteratorContainer } from './IteratorContainer'; +export { default as FlowState } from './FlowState'; export default App;