no message
This commit is contained in:
parent
32f238b938
commit
eb7ce398d0
@ -46,6 +46,7 @@ function $ajaxget(url, data) {
|
||||
)
|
||||
.then(function (res) {
|
||||
var data = typeof res.data == "string" ? JSON.parse(res.data) : res.data
|
||||
console.log("data",data);
|
||||
if (data.code == 401) reject()
|
||||
resolve(data)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user