From 67aa10ea2570c574aec5c518667e0d0c1794c161 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Mon, 18 Nov 2024 14:32:50 +0800 Subject: [PATCH] =?UTF-8?q?chore(app):=20=E5=88=A0=E9=99=A4=E6=97=A0?= =?UTF-8?q?=E7=94=A8log=EF=BC=8Cexport=20FlowState?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/EventHelper.ts | 1 - packages/core/src/index.ts | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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;