Commit f06dc4de by amateur

1

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