|
@@ -341,6 +341,15 @@ const post = function (url, data, opts) {
|
|
});
|
|
});
|
|
|
|
|
|
// wd.location.href = '../error.html?code=' + error.status;
|
|
// wd.location.href = '../error.html?code=' + error.status;
|
|
|
|
+ } else if (error.status === 10020013) {
|
|
|
|
+ $.alerModal({
|
|
|
|
+ "message": '登录异常',
|
|
|
|
+ type: "tip",
|
|
|
|
+ time: '1000',
|
|
|
|
+ isFather: true,
|
|
|
|
+ fatherWrapper: $("#mainBox", parent.document)
|
|
|
|
+ });
|
|
|
|
+ wd.location.href = "../login.html";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
reject(error);
|
|
reject(error);
|