no message

This commit is contained in:
A1300399510 2024-11-08 17:09:42 +08:00
parent 32f238b938
commit eb7ce398d0

View File

@ -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)
})