Skip to content

Commit

Permalink
chore(app): 删除无用log,export FlowState
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen committed Nov 18, 2024
1 parent cc2cea5 commit 67aa10e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/src/EventHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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类型
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 67aa10e

Please sign in to comment.