diff --git a/packages/amis-editor-core/src/manager.ts b/packages/amis-editor-core/src/manager.ts index 40e6e444f..4f69ec630 100644 --- a/packages/amis-editor-core/src/manager.ts +++ b/packages/amis-editor-core/src/manager.ts @@ -44,7 +44,8 @@ import { reactionWithOldValue, reGenerateID, isString, - isObject + isObject, + JSONPipeOut } from './util'; import {reaction} from 'mobx'; import {hackIn, makeSchemaFormRender, makeWrapper} from './component/factory'; @@ -1724,7 +1725,7 @@ export class EditorManager { component.props.$$id, component.props.type ); - node?.info?.plugin?.rendererBeforeDispatchEvent?.(node, e, data); + node?.info?.plugin?.rendererBeforeDispatchEvent?.(node, e, JSONPipeOut(data)); } }