mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
fix: eventPanel-autoClose
This commit is contained in:
parent
76ee885c19
commit
438ce7ce79
@ -220,13 +220,13 @@ export class EventControl extends React.Component<
|
|||||||
const pluginEvents =
|
const pluginEvents =
|
||||||
typeof tmpEvents === 'function' ? tmpEvents(data) : [...tmpEvents];
|
typeof tmpEvents === 'function' ? tmpEvents(data) : [...tmpEvents];
|
||||||
|
|
||||||
pluginEvents.forEach((event: RendererPluginEvent) => {
|
// 事件配置面板不自动折叠
|
||||||
eventPanelActive[event.eventName] = true;
|
// pluginEvents.forEach((event: RendererPluginEvent) => {
|
||||||
});
|
// eventPanelActive[event.eventName] = true;
|
||||||
|
// });
|
||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
events: pluginEvents,
|
events: pluginEvents
|
||||||
eventPanelActive
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user