no message
This commit is contained in:
parent
ac2fba744e
commit
9b922aa193
@ -52,7 +52,10 @@ function $ajaxget(url, data) {
|
||||
}
|
||||
)
|
||||
.then(function (res) {
|
||||
console.log("res", res)
|
||||
|
||||
var data = typeof res.data == "string" ? JSON.parse(res.data) : res.data
|
||||
|
||||
if (data.code == 401) {
|
||||
openShowWindow()
|
||||
reject()
|
||||
|
Loading…
Reference in New Issue
Block a user