no message
This commit is contained in:
parent
50d62f6688
commit
113c767892
@ -65,9 +65,9 @@ function $ajaxget(url, data) {
|
|||||||
resolve(data)
|
resolve(data)
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
|
if (error.response?.status == 401) openShowWindow()
|
||||||
console.log("error", error, error.response?.status)
|
console.log("error", error, error.response?.status)
|
||||||
|
|
||||||
if (error.response?.status == 401) openShowWindow()
|
|
||||||
reject(error)
|
reject(error)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user