[update 系统] token过期页面不弹框

This commit is contained in:
danshihao
2024-07-08 09:34:47 +08:00
parent a640cc91c1
commit 90f7d4829d
+1 -1
View File
@@ -39,7 +39,7 @@ const err = (error) => {
break
}
// update-end- --- author:liusq ------ date:20200910 ---- for:处理Blob情况----
if (data.message.includes('Token失效')) {
if (typeof data === 'string' ? data.includes('Token失效') : data.message.includes('Token失效')) {
// update-begin- --- author:scott ------ date:20190225 ---- for:Token失效采用弹框模式,不直接跳转----
if (/wxwork|dingtalk/i.test(navigator.userAgent)) {
Vue.prototype.$Jmessage.loading('登录已过期,正在重新登陆', 0)