优化弹窗位置

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

@ -652,7 +652,7 @@ class Access extends Component {
title="剪贴板"
maskClosable={false}
visible={this.state.clipboardVisible}
centered={true}
onOk={() => {
this.clipboardFormRef.current
.validateFields()

View File

@ -457,7 +457,7 @@ class FileSystem extends Component {
<Modal
title="上传文件"
visible={this.state.uploadVisible}
centered={true}
onOk={() => {
this.setState({
uploadVisible: false
@ -483,7 +483,7 @@ class FileSystem extends Component {
<Modal
title="创建文件夹"
visible={this.state.mkdirVisible}
centered={true}
onOk={() => {
this.mkdirFormRef.current
.validateFields()
@ -535,7 +535,7 @@ class FileSystem extends Component {
<Modal
title="重命名"
visible={this.state.renameVisible}
centered={true}
onOk={() => {
this.renameFormRef.current
.validateFields()