Commit 93708b7e by amateur

1

1 parent d2bf1955
...@@ -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);
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!