9f0d88d7 by ex

h5 2

1 parent fea2f665
......@@ -40,7 +40,12 @@ AppClient.prototype.getERCode = function (callbackName, callback, jsonStr) {
params: dataParams
};
if (this.isAndroid) {
this.appObj.getERCode('H5', jsonStr);
window.WebViewJavascriptBridge.callHandler('getERCode', jsonStr, function (res) {
layer.open({
content: res,
time: 2
})
});
} else {
this.appObj.callHandler("getERCode", iOSData, callback);
......@@ -106,7 +111,7 @@ if(isAndroid || isiOS) {
}
setupWebViewJavascriptBridge(function(bridge) {
if(isAndroid) {
appClient = new AppClient(bridge, isAndroid);
}
if (isiOS) {
appClient = new AppClient(bridge, isAndroid);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!