@@ -264,6 +264,15 @@ const post = function (url, data, opts) {
data: jsonres.msg
}
window.parent.postMessage(JSON.stringify(dialogmessage), '*')
+ } else if (jsonres.code === '10020013') {
+ $.alerModal({
+ "message": '登录异常',
+ type: "tip",
+ time: '1000',
+ isFather: true,
+ fatherWrapper: $("#mainBox", parent.document)
+ });
+ window.location.href = 'login.html'
resolve({
data: res