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
e8101757
authored
2018-09-02 18:17:58 +0800
by
unknown
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提示运行环境
1 parent
6529242b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
js/JSBridge.js
js/JSBridge.js
View file @
e810175
...
...
@@ -48,9 +48,10 @@ AppClient.prototype.getERCode = function (jsonStr, callback) {
};
AppClient
.
prototype
.
getGPS
=
function
(
jsonStr
,
callback
)
{
var
dataParams
=
""
;
if
(
isJson
(
jsonStr
)){
if
(
isJson
(
jsonStr
))
{
dataParams
=
JSON
.
parse
(
jsonStr
);
var
iOSData
=
{
}
var
param
=
{
from
:
'H5'
,
params
:
dataParams
};
...
...
@@ -95,5 +96,5 @@ if(isAndroid || isiOS) {
// 此处可以调用一些init的方法
});
}
else
{
appClient
=
undefined
appClient
=
undefined
;
}
...
...
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