no message

This commit is contained in:
A1300399510 2024-11-14 18:30:12 +08:00
parent 0ac9c9b0b9
commit 4c1b96cadc

View File

@ -25,7 +25,7 @@ function $ajax(url) {
showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
reject()
}
if (data.code == 201) creationAlertBox("error", res.message || res.msg)
if (data.code == 201) creationAlertBox("error", data.message || data.msg)
resolve(data)
})
.catch(err => {
@ -57,7 +57,7 @@ function $ajaxget(url, data) {
showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
reject()
}
if (data.code == 201) creationAlertBox("error", res.message || res.msg)
if (data.code == 201) creationAlertBox("error", data.message || data.msg)
resolve(data)
})