소스 검색

修改清除弹窗关闭Bug

zhangxc 5 년 전
부모
커밋
a85eaa5409
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/components/Operation/index.jsx
  2. 2 2
      src/utils/config.js

+ 1 - 1
src/components/Operation/index.jsx

@@ -375,9 +375,9 @@ class Operation extends Component {
     const { diagShowTmp } = this.props;
     const { type } = this.state;
     if (type == 3){
-      diagShowTmp(false)
       this.setState({ title: '',deptId:"",value:"",folderListShow:false,folderNameVal:'未分类文件夹',folderId:'',fstName:''})
     }
+    diagShowTmp(false)
   }
   setDeptId(id,name){
     this.props.handleClearValue()

+ 2 - 2
src/utils/config.js

@@ -2,8 +2,8 @@
 // const host='http://192.168.3.100:5050';//王峰
 // const host='http://192.168.2.121:5050';//后端接口访问地址
 // const host='http://192.168.2.236:5050';//后端接口访问地址
-const host='http://223.93.170.82:23650';//后端接口访问地址外网
-// const host='http://192.168.2.241:5050';//后端接口访问地址
+// const host='http://223.93.170.82:23650';//后端接口访问地址外网
+const host='http://192.168.2.241:5050';//后端接口访问地址
 // const host='http://192.168.3.11:5050';//王宇
 //const host='http://192.168.2.164:8080';
 // const host='http://192.168.3.117:5050'; //周铁刚