Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
dy-wx2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4d211f25
authored
2018-09-01 15:31:20 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
h5 2
1 parent
383b61ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
js/controller/mainController.js
js/controller/mapController.js
js/controller/mainController.js
View file @
4d211f2
...
...
@@ -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
)
{
...
...
js/controller/mapController.js
View file @
4d211f2
...
...
@@ -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
({
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment