|
@@ -61,7 +61,13 @@ const actions = {
|
|
|
}
|
|
|
if (AppX.appConfig.onlineconfig) {
|
|
|
APIs.GetUserInitData({ platform: 1 }).then((result) => {
|
|
|
- const resData = result.result;
|
|
|
+ var resData = result.result;
|
|
|
+ // console.log("1111111:",resData);
|
|
|
+ // debugger;
|
|
|
+ var resData2 = JSON.stringify(resData).replace(/tgdcepc.ctg.com.cn:8443/g, '106.12.170.138:8090')
|
|
|
+ var resData = JSON.parse(resData2.replace(/https/g, 'http'))
|
|
|
+ // console.log("22222222:",resData);
|
|
|
+
|
|
|
if (resData) {
|
|
|
AppX.appConfig.initPosition = JSON.parse(sessionStorage.getItem('initPosition'));
|
|
|
AppX.appConfig.currentPrj = JSON.parse(sessionStorage.getItem('currentPrj'));
|