[amis-saas-9161]:上下文补充页面静态数据

Change-Id: I124b427c9b563a88658f258d65590eda88d3d4f1
This commit is contained in:
hsm-lv 2023-01-04 20:11:58 +08:00
parent 81c92814c2
commit 940bec47ee

View File

@ -1865,11 +1865,9 @@ export class EditorManager {
) {
originHook?.(e, component, scoped, data, broadcasts);
if (component.props.$$id) {
const node = this.store.getNodeById(
component.props.$$id,
component.props.type
);
const id = component.props.$$id || component.props.$$editor?.id;
if (id) {
const node = this.store.getNodeById(id, component.props.type);
node?.info?.plugin?.rendererBeforeDispatchEvent?.(
node,
e,