调整格式

This commit is contained in:
pianruijie 2022-05-09 19:38:30 +08:00
parent 93b66a8811
commit 07d817d167

View File

@ -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);
}