mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
fix: 修复 prompt 后再 alert 出现的弹窗问题 (#2842)
This commit is contained in:
parent
386c1de082
commit
236f979523
@ -113,7 +113,9 @@ export class Alert extends React.Component<AlertProps, AlertState> {
|
||||
|
||||
this.setState(
|
||||
{
|
||||
show: false
|
||||
show: false,
|
||||
prompt: false,
|
||||
confirm: false
|
||||
},
|
||||
isConfirm ? () => this._resolve(confirmed) /*this._reject()*/ : undefined
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user