[update 系统] token过期页面不弹框
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user