mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +08:00
Dialog 的lazayRender 模式添加 spinner
This commit is contained in:
parent
9fe6ea8d68
commit
b097fe608c
@ -520,7 +520,9 @@ export default class Dialog extends React.Component<DialogProps, DialogState> {
|
||||
: null}
|
||||
|
||||
{!this.state.entered && lazyRender ? (
|
||||
<div className={cx('Modal-body', bodyClassName)} />
|
||||
<div className={cx('Modal-body', bodyClassName)}>
|
||||
<Spinner overlay show size="lg" />
|
||||
</div>
|
||||
) : body ? (
|
||||
<div className={cx('Modal-body', bodyClassName)}>
|
||||
{this.renderBody(body, 'body')}
|
||||
|
Loading…
Reference in New Issue
Block a user