mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
默认打开的弹框不会添加 is-modalOpened (#1167)
This commit is contained in:
parent
f5b7edf7a5
commit
fa3eca199c
@ -132,6 +132,7 @@ export class Modal extends React.Component<ModalProps, ModalState> {
|
||||
|
||||
componentDidMount() {
|
||||
if (this.props.show) {
|
||||
this.handleEnter();
|
||||
this.handleEntered();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user