Commit f06dc4de by amateur

1

1 parent 12b44f52
......@@ -22,10 +22,12 @@ public class UpdateUtils {
protected void onResponse(StateEnum state, UpdateVersion data, String message) {
if (state == StateEnum.OK && null != data && !TextUtils.isEmpty(data.getvNumber())) {
ExecutorUtils.main(() -> UpdateDialog.show(manager, data));
// 必升版本 不更新h5
if (isMustUpdate(data)) {
return;
if (isUpdateApp(data)) {
ExecutorUtils.main(() -> UpdateDialog.show(manager, data));
// 必升版本 不更新h5
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!