Commit f06dc4de by amateur

1

1 parent 12b44f52
......@@ -22,12 +22,14 @@ public class UpdateUtils {
protected void onResponse(StateEnum state, UpdateVersion data, String message) {
if (state == StateEnum.OK && null != data && !TextUtils.isEmpty(data.getvNumber())) {
if (isUpdateApp(data)) {
ExecutorUtils.main(() -> UpdateDialog.show(manager, data));
// 必升版本 不更新h5
if (isMustUpdate(data)) {
return;
}
}
}
if (!TextUtils.isEmpty(h5Version)) {
checkH5Version(h5Version);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!