修复一处登录时空指针错误
This commit is contained in:
parent
38f6f2f451
commit
e8f9884365
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user