mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
fix:#6757按钮二次确认后并没有触发点击事件
This commit is contained in:
parent
82f2ea2568
commit
70856718f6
@ -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
|
||||
);
|
||||
|
||||
// 阻止原有动作执行
|
||||
|
Loading…
Reference in New Issue
Block a user