no message

This commit is contained in:
A1300399510 2024-11-13 15:12:54 +08:00
parent 4030231c2e
commit 2777f4d64a

View File

@ -27,7 +27,7 @@ function $ajax(url) {
resolve(data) resolve(data)
}) })
.catch(err => { .catch(err => {
console.log("error", error) console.log("err", err)
if (err.response?.status == 401) showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true }) if (err.response?.status == 401) showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
}) })
}) })