Commit ddc1dd41 by Zhang Xin

ç改成正常测试版本

parent 2b057a5c
......@@ -410,7 +410,9 @@ class PageContainer extends React.Component {
endCountBack(){
this.countBackTime = -1;
clearTimeout(this.countbackTimer);
if(this.countbackTimer){
clearTimeout(this.countbackTimer);
}
this.countbackTimer = null;
UTILPATH.myLogger.info("endCountBack countBackTime ",this.countBackTime);
}
......@@ -425,7 +427,7 @@ class PageContainer extends React.Component {
}
countBack(){
UTILPATH.myLogger.info("countBack countBackTime ",this.countBackTime);
// UTILPATH.myLogger.info("countBack countBackTime ",this.countBackTime);
if(!this.countbackTimer && this.countBackTime >= 0){
this.countBackTime--;
this.countbackTimer = window.setTimeout(()=>{
......@@ -527,8 +529,9 @@ class PageContainer extends React.Component {
let btnBorderRadius = UTILPATH.getRemByPx(10);
//老机器
this.handleCloseDoor();
// this.handleCloseDoor();
/*
this.setState({
popupInfo:defaultPopupInfo
},()=>{
......@@ -551,6 +554,7 @@ class PageContainer extends React.Component {
})
*/
}
......@@ -799,7 +803,6 @@ class PageContainer extends React.Component {
closeDoor={true}
tempLogout={()=>this.tempLogout.bind(this)()}
changeIsSend ={this.changeIsSend.bind(this)}
beginCloseDoor={this.beginCloseDoor.bind(this)}
endCountBack={this.endCountBack}
/>;
break;
......
......@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
*/
module.exports = {
domain: 'https://preprod.mjitech.com/web/',
domain: 'https://test.mjitech.com/web/',
uploadImg : 'https://preprod.mjitech.com/static/uploadTrouble'
}
\ No newline at end of file
......@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
*/
module.exports = {
domain: 'https://preprod.mjitech.com/web/',
domain: 'https://test.mjitech.com/web/',
uploadImg : "https://preprod.mjitech.com/static/uploadTrouble"
}
\ No newline at end of file
......@@ -2,6 +2,6 @@
* Created by ruibing on 16/11/2.
*/
module.exports = {
domain: 'https://preprod.mjitech.com/web/',
domain: 'https://test.mjitech.com/web/',
uploadImg : 'https://preprod.mjitech.com/static/uploadTrouble'
}
\ No newline at end of file
import fetch from 'isomorphic-fetch';
let domain = "";
const domainPort = "7780";
const domainPort = "7788";
const myHeaders = new Headers({
// 'Access-Control-Allow-Origin': '*',
// 'Content-Type': 'text/plain;charset=UTF-8',
......
......@@ -3,7 +3,7 @@ import myLogger from './logger'
let domainIp = '192.168.10.';
const domainPort = "7780";
const domainPort = "7788";
const socket = {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment