Authored by 李奇

修改

@@ -170,7 +170,7 @@ Page(Object.assign({ @@ -170,7 +170,7 @@ Page(Object.assign({
170 } else { 170 } else {
171 this._init(); 171 this._init();
172 } 172 }
173 - }, 500) 173 + }, 1100)
174 }, 174 },
175 175
176 /** 176 /**
@@ -44,9 +44,10 @@ class Service { @@ -44,9 +44,10 @@ class Service {
44 }); 44 });
45 }; 45 };
46 46
47 - if (!app.globalData.hasSetSwitch) { 47 + let needSwitch = g_sourceApiArry.indexOf(path) > -1;
  48 +
  49 + if (!app.globalData.hasSetSwitch && needSwitch) {
48 return iconfSwitch().then(data => { 50 return iconfSwitch().then(data => {
49 - console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _get switch');  
50 app.globalData.hasSetSwitch = true; 51 app.globalData.hasSetSwitch = true;
51 if (data['javaapi'] && '0' === data['javaapi']) { 52 if (data['javaapi'] && '0' === data['javaapi']) {
52 app.globalData.switch_javaApiEnable = false; 53 app.globalData.switch_javaApiEnable = false;