|
@@ -20,6 +20,7 @@ const {
|
|
setCookie,
|
|
setCookie,
|
|
setLocal,
|
|
setLocal,
|
|
getCookie,
|
|
getCookie,
|
|
|
|
+ clearAllCookie,
|
|
focusMenuItem,
|
|
focusMenuItem,
|
|
getUrlArgObject
|
|
getUrlArgObject
|
|
} = require('./utils.js');
|
|
} = require('./utils.js');
|
|
@@ -32,7 +33,7 @@ const otherLogo = getUrlArgObject("adLg");
|
|
const is3His = getUrlArgObject('is3His')
|
|
const is3His = getUrlArgObject('is3His')
|
|
//token判断没有跳登录
|
|
//token判断没有跳登录
|
|
const token = localStorage.getItem('accessToken');
|
|
const token = localStorage.getItem('accessToken');
|
|
-const onAppeal = getCookie('checkAuth').indexOf('10')
|
|
|
|
|
|
+const onAppeal = getCookie('checkAuth') && getCookie('checkAuth').indexOf('10')
|
|
let auditNumber;
|
|
let auditNumber;
|
|
if (!token || localStorage.getItem('toLogin') === '1') {
|
|
if (!token || localStorage.getItem('toLogin') === '1') {
|
|
window.location.href = '../login.html';
|
|
window.location.href = '../login.html';
|