Showing
2 changed files
with
2 additions
and
2 deletions
@@ -119,7 +119,7 @@ App({ | @@ -119,7 +119,7 @@ App({ | ||
119 | iconfSwitch(this).then(data => { | 119 | iconfSwitch(this).then(data => { |
120 | console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> app onshow switch'); | 120 | console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> app onshow switch'); |
121 | this.globalData.hasSetSwitch = true; | 121 | this.globalData.hasSetSwitch = true; |
122 | - if (data['javaapi'] && md5('0') === data['javaapi']) { | 122 | + if (data['javaapi'] && '0' === data['javaapi']) { |
123 | this.globalData.switch_javaApiEnable = false; | 123 | this.globalData.switch_javaApiEnable = false; |
124 | } | 124 | } |
125 | }, () => { | 125 | }, () => { |
@@ -48,7 +48,7 @@ class Service { | @@ -48,7 +48,7 @@ class Service { | ||
48 | return 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['javaapi'] && md5('0') === data['javaapi']) { | 51 | + if (data['javaapi'] && '0' === data['javaapi']) { |
52 | app.globalData.switch_javaApiEnable = false; | 52 | app.globalData.switch_javaApiEnable = false; |
53 | } | 53 | } |
54 | return executeReq(); | 54 | return executeReq(); |
-
Please register or login to post a comment