no message
This commit is contained in:
parent
e5872f98e3
commit
4030231c2e
@ -1116,4 +1116,5 @@
|
||||
font-size: 10px;
|
||||
color: #aaaaaa;
|
||||
padding-bottom: 60px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
@ -1281,4 +1281,5 @@
|
||||
font-size: 10px;
|
||||
color: #aaaaaa;
|
||||
padding-bottom: 60px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
@ -27,7 +27,8 @@ function $ajax(url) {
|
||||
resolve(data)
|
||||
})
|
||||
.catch(err => {
|
||||
if (err.response.status == 401) showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
|
||||
console.log("error", error)
|
||||
if (err.response?.status == 401) showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
|
||||
})
|
||||
})
|
||||
}
|
||||
@ -59,7 +60,8 @@ function $ajaxget(url, data) {
|
||||
resolve(data)
|
||||
})
|
||||
.catch(error => {
|
||||
if (error.response.status == 401) showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
|
||||
console.log("error", error)
|
||||
if (error.response?.status == 401) showWindow("login", "https://passport.gter.net/login/ajax", "get", -1, { cover: true })
|
||||
reject(error)
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user