diff --git a/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java b/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java index 5bb700f6f..e1b2691fc 100644 --- a/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java +++ b/main/src/main/java/com/yunbao/main/dialog/OneLoginDialog.java @@ -118,7 +118,7 @@ public class OneLoginDialog extends AbsDialogFragment { @Override public void onSuccess(int code, String msg, String[] info) { dismiss(); - if (info.length > 0 && !StringUtil.isEmpty(info[0])) { + if (info.length != 0 && !StringUtil.isEmpty(info[0])) { JSONObject obj = JSON.parseObject(info[0]); if (obj.containsKey("home_zdy_img_us")) { home_zdy_img_us = obj.getString("home_zdy_img_us");