...
|
...
|
@@ -45,7 +45,7 @@ class Service { |
|
|
};
|
|
|
|
|
|
if (!app.globalData.hasSetSwitch) {
|
|
|
iconfSwitch().then(data => {
|
|
|
return iconfSwitch().then(data => {
|
|
|
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _get switch');
|
|
|
app.globalData.hasSetSwitch = true;
|
|
|
if (data['disableJavaApi'] && md5('disableJavaApi') === data['disableJavaApi']) { // TODO 键值确认
|
...
|
...
|
@@ -80,7 +80,7 @@ class Service { |
|
|
}
|
|
|
|
|
|
if (!app.globalData.hasSetSwitch) {
|
|
|
iconfSwitch().then(data => {
|
|
|
return iconfSwitch().then(data => {
|
|
|
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _post switch');
|
|
|
app.globalData.hasSetSwitch = true;
|
|
|
if (data['disableJavaApi'] && md5('disableJavaApi') === data['disableJavaApi']) { // TODO 键值确认
|
...
|
...
|
|