...
|
...
|
@@ -43,10 +43,11 @@ class Service { |
|
|
return result
|
|
|
});
|
|
|
};
|
|
|
|
|
|
let needSwitch = g_sourceApiArry.indexOf(path) > -1;
|
|
|
|
|
|
if (!app.globalData.hasSetSwitch) {
|
|
|
if (!app.globalData.hasSetSwitch && needSwitch) {
|
|
|
return iconfSwitch().then(data => {
|
|
|
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _get switch');
|
|
|
app.globalData.hasSetSwitch = true;
|
|
|
if (data['javaapi'] && '0' === data['javaapi']) {
|
|
|
app.globalData.switch_javaApiEnable = false;
|
...
|
...
|
|