mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +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 =
|
||||
typeof tmpEvents === 'function' ? tmpEvents(data) : [...tmpEvents];
|
||||
|
||||
pluginEvents.forEach((event: RendererPluginEvent) => {
|
||||
eventPanelActive[event.eventName] = true;
|
||||
});
|
||||
// 事件配置面板不自动折叠
|
||||
// pluginEvents.forEach((event: RendererPluginEvent) => {
|
||||
// eventPanelActive[event.eventName] = true;
|
||||
// });
|
||||
|
||||
this.setState({
|
||||
events: pluginEvents,
|
||||
eventPanelActive
|
||||
events: pluginEvents
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user