...
|
...
|
@@ -44,9 +44,10 @@ class Service { |
|
|
});
|
|
|
};
|
|
|
|
|
|
if (!app.globalData.hasSetSwitch) {
|
|
|
let needSwitch = g_sourceApiArry.indexOf(path) > -1;
|
|
|
|
|
|
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;
|
...
|
...
|
|