提示运行环境
Showing
1 changed file
with
1 additions
and
6 deletions
| ... | @@ -37,12 +37,7 @@ AppClient.prototype.getERCode = function (jsonStr, getCallback, postCallback) { | ... | @@ -37,12 +37,7 @@ AppClient.prototype.getERCode = function (jsonStr, getCallback, postCallback) { |
| 37 | params: dataParams | 37 | params: dataParams |
| 38 | }; | 38 | }; |
| 39 | if(this.isAndroid) { | 39 | if(this.isAndroid) { |
| 40 | window.WebViewJavascriptBridge.callHandler('getERCode', jsonStr, function (res) { | 40 | window.WebViewJavascriptBridge.callHandler('getERCode', jsonStr, getCallback); |
| 41 | layer.open({ | ||
| 42 | content: res, | ||
| 43 | time: 2 | ||
| 44 | }) | ||
| 45 | }); | ||
| 46 | } else { | 41 | } else { |
| 47 | this.appObj.registerHandler("postERCOde", postCallback) | 42 | this.appObj.registerHandler("postERCOde", postCallback) |
| 48 | this.appObj.callHandler("getERCode", param, getCallback); | 43 | this.appObj.callHandler("getERCode", param, getCallback); | ... | ... |
-
Please register or sign in to post a comment