mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
[amis-saas-9161]:上下文补充页面静态数据
Change-Id: I124b427c9b563a88658f258d65590eda88d3d4f1
This commit is contained in:
parent
81c92814c2
commit
940bec47ee
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user