fix:#6757按钮二次确认后并没有触发点击事件

This commit is contained in:
lvxiaojiao 2023-05-04 12:05:52 +08:00
parent 82f2ea2568
commit 70856718f6

View File

@ -977,7 +977,8 @@ export class ActionRenderer extends React.Component<ActionRendererProps> {
// 触发渲染器事件
const rendererEvent = await dispatchEvent(
e as React.MouseEvent<any> | string,
mergedData
mergedData,
this // 保证renderer可以拿到避免因交互设计导致的销魂情况例如crud内itemAction
);
// 阻止原有动作执行