shjn
This commit is contained in:
1 parent
d7f5f1a656
commit
fd068aeaf2
2 files changed
+5
-2
No files matched your search
@@ -233,6 +233,9 @@ const login = {
|
||||
if (response.msg == "token已失效") {
|
||||
uni.showToast({ title: "用户凭证已失效,请退出并重新进入智慧后勤应用", icon: "none", duration: 6000 })
|
||||
} else {
|
||||
if (response.code == -1) {
|
||||
storage.saveToken({ data: -1 })
|
||||
}
|
||||
uni.showToast({ title: response.msg || "登录失败", icon: "none" })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user