From 8d6b51971a17776c1bde9b97813344c684d84100 Mon Sep 17 00:00:00 2001 From: hsm-lv Date: Fri, 12 Aug 2022 10:33:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=85=8D=E7=BD=AEdata=E6=97=B6=E4=B8=8A?= =?UTF-8?q?=E4=B8=8B=E6=96=87=E5=8E=BB=E6=8E=89$$id=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0b730e3d670c5c22971e9057cd1f4bdec4c624ac --- packages/amis-editor-core/src/manager.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)); } }