Showing
1 changed file
with
2 additions
and
2 deletions
@@ -45,7 +45,7 @@ class Service { | @@ -45,7 +45,7 @@ class Service { | ||
45 | }; | 45 | }; |
46 | 46 | ||
47 | if (!app.globalData.hasSetSwitch) { | 47 | if (!app.globalData.hasSetSwitch) { |
48 | - iconfSwitch().then(data => { | 48 | + return iconfSwitch().then(data => { |
49 | console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _get switch'); | 49 | console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _get switch'); |
50 | app.globalData.hasSetSwitch = true; | 50 | app.globalData.hasSetSwitch = true; |
51 | if (data['disableJavaApi'] && md5('disableJavaApi') === data['disableJavaApi']) { // TODO 键值确认 | 51 | if (data['disableJavaApi'] && md5('disableJavaApi') === data['disableJavaApi']) { // TODO 键值确认 |
@@ -80,7 +80,7 @@ class Service { | @@ -80,7 +80,7 @@ class Service { | ||
80 | } | 80 | } |
81 | 81 | ||
82 | if (!app.globalData.hasSetSwitch) { | 82 | if (!app.globalData.hasSetSwitch) { |
83 | - iconfSwitch().then(data => { | 83 | + return iconfSwitch().then(data => { |
84 | console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _post switch'); | 84 | console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> _post switch'); |
85 | app.globalData.hasSetSwitch = true; | 85 | app.globalData.hasSetSwitch = true; |
86 | if (data['disableJavaApi'] && md5('disableJavaApi') === data['disableJavaApi']) { // TODO 键值确认 | 86 | if (data['disableJavaApi'] && md5('disableJavaApi') === data['disableJavaApi']) { // TODO 键值确认 |
-
Please register or login to post a comment