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
e3be94eb
authored
2018-09-02 18:00:18 +0800
by
unknown
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提示运行环境
1 parent
5ec8066c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
6 deletions
js/JSBridge.js
js/JSBridge.js
View file @
e3be94e
...
...
@@ -37,12 +37,7 @@ AppClient.prototype.getERCode = function (jsonStr, getCallback, postCallback) {
params
:
dataParams
};
if
(
this
.
isAndroid
)
{
window
.
WebViewJavascriptBridge
.
callHandler
(
'getERCode'
,
jsonStr
,
function
(
res
)
{
layer
.
open
({
content
:
res
,
time
:
2
})
});
window
.
WebViewJavascriptBridge
.
callHandler
(
'getERCode'
,
jsonStr
,
getCallback
);
}
else
{
this
.
appObj
.
registerHandler
(
"postERCOde"
,
postCallback
)
this
.
appObj
.
callHandler
(
"getERCode"
,
param
,
getCallback
);
...
...
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