no message
This commit is contained in:
parent
0ac9c9b0b9
commit
4c1b96cadc
@ -25,7 +25,7 @@ function $ajax(url) {
|
|||||||
showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
|
showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
|
||||||
reject()
|
reject()
|
||||||
}
|
}
|
||||||
if (data.code == 201) creationAlertBox("error", res.message || res.msg)
|
if (data.code == 201) creationAlertBox("error", data.message || data.msg)
|
||||||
resolve(data)
|
resolve(data)
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
@ -57,7 +57,7 @@ function $ajaxget(url, data) {
|
|||||||
showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
|
showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
|
||||||
reject()
|
reject()
|
||||||
}
|
}
|
||||||
if (data.code == 201) creationAlertBox("error", res.message || res.msg)
|
if (data.code == 201) creationAlertBox("error", data.message || data.msg)
|
||||||
|
|
||||||
resolve(data)
|
resolve(data)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user