mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:38:53 +08:00
调整格式
This commit is contained in:
parent
93b66a8811
commit
07d817d167
@ -127,6 +127,7 @@ export async function dispatchEvent(
|
||||
data,
|
||||
broadcast
|
||||
);
|
||||
|
||||
if (!broadcast) {
|
||||
const eventConfig = renderer?.props?.onEvent?.[eventName];
|
||||
|
||||
@ -174,6 +175,7 @@ export async function dispatchEvent(
|
||||
}
|
||||
|
||||
unbindEvent?.();
|
||||
|
||||
return Promise.resolve(rendererEvent);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user