merge:master

Change-Id: Id225d7db340ae1f542dab684aed594f2e61e3dba
This commit is contained in:
hsm-lv 2022-08-12 12:20:55 +08:00
commit 95d9ed66aa

View File

@ -44,7 +44,8 @@ import {
reactionWithOldValue, reactionWithOldValue,
reGenerateID, reGenerateID,
isString, isString,
isObject isObject,
JSONPipeOut
} from './util'; } from './util';
import {reaction} from 'mobx'; import {reaction} from 'mobx';
import {hackIn, makeSchemaFormRender, makeWrapper} from './component/factory'; import {hackIn, makeSchemaFormRender, makeWrapper} from './component/factory';
@ -1724,7 +1725,7 @@ export class EditorManager {
component.props.$$id, component.props.$$id,
component.props.type component.props.type
); );
node?.info?.plugin?.rendererBeforeDispatchEvent?.(node, e, data); node?.info?.plugin?.rendererBeforeDispatchEvent?.(node, e, JSONPipeOut(data));
} }
} }