4d211f25 by ex

h5 2

1 parent 383b61ad
......@@ -159,10 +159,10 @@ angular.module('myApp')
// }
$rootScope.openScan = false;
// layer.open({
// content: appClient,
// time: 5
// })
layer.open({
content: appClient,
time: 5
})
if(appClient){
appClient.appObj.registerHandler('postERCode', function(data, responseCallback) {
......
......@@ -305,7 +305,7 @@ angular.module('myApp')
time: 2
});
})
appClient.getGPS('getGPS', function (res) {
window.WebViewJavascriptBridge.callHandler.getGPS('getGPS','1', function (res) {
// layer.open({
// content: JSON.stringify(res) + 'cb',
// time: 10
......@@ -316,7 +316,7 @@ angular.module('myApp')
})
}, '')
} else if(appClient){
} else if(isiOS){
appClient.appObj.registerHandler('postGPS', function(data, responseCallback) {
var res = JSON.parse(data)
layer.open({
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!