优化弹窗位置

This commit is contained in:
dushixiang
2021-04-08 19:34:42 +08:00
parent fbb996843c
commit c3cdb720e5
16 changed files with 17 additions and 23 deletions

View File

@ -640,7 +640,7 @@ class DynamicCommand extends Component {
<Modal
title="选择资产"
visible={this.state.assetsVisible}
centered={true}
onOk={this.executeCommand}
onCancel={() => {
this.setState({
@ -668,7 +668,7 @@ class DynamicCommand extends Component {
</Text>}
visible={this.state.changeOwnerModalVisible}
confirmLoading={this.state.changeOwnerConfirmLoading}
centered={true}
onOk={() => {
this.setState({
changeOwnerConfirmLoading: true
@ -729,7 +729,7 @@ class DynamicCommand extends Component {
style={{color: '#1890ff'}}>{this.state.selected['name']}</strong>
</Text>}
visible={this.state.changeSharerModalVisible}
centered={true}
confirmLoading={this.state.changeSharerConfirmLoading}
onOk={async () => {
this.setState({