Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
polysoft-nafmii
/
polysoft-android
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 93708b7e
authored
Oct 27, 2021
by
amateur
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
d2bf1955
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/src/main/java/com/polysoft/nafmii/webview/NativeApi.java
app/src/main/java/com/polysoft/nafmii/webview/NativeApi.java
View file @
93708b7
...
@@ -304,9 +304,9 @@ public class NativeApi {
...
@@ -304,9 +304,9 @@ public class NativeApi {
js
.
callJs
(
Result
.
fail
(
"参数错误"
));
js
.
callJs
(
Result
.
fail
(
"参数错误"
));
return
;
return
;
}
}
if
(
"
1
"
.
equals
(
type
))
{
// 检测版本APP h5版本
if
(
"
2
"
.
equals
(
type
))
{
// 检测版本APP h5版本
UpdateUtils
.
checkVersion
(
handler
.
getFragmentManager
(),
version
);
UpdateUtils
.
checkVersion
(
handler
.
getFragmentManager
(),
version
);
}
else
if
(
"
2
"
.
equals
(
type
))
{
// 检测h5版本
}
else
if
(
"
1
"
.
equals
(
type
))
{
// 检测h5版本
UpdateUtils
.
checkH5Version
(
version
);
UpdateUtils
.
checkH5Version
(
version
);
}
}
}
}
...
...
Write
Preview
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