|
@@ -1665,8 +1665,10 @@ router.beforeEach((to, from, next) => {
|
|
|
//window.location.href = "http://cas.hl.cmcc/cas/login?service=?service=http%3A%2F%2F10.230.26.15%3A8000%2Fspfm%2Fsysmgr%2FssLogin%3FsysFlag%3D0"
|
|
|
next()
|
|
|
} else {
|
|
|
- if (window.location.href.indexOf('?agileauthtoken=') == -1) {
|
|
|
+ // if (window.location.href.indexOf('?agileauthtoken=') == -1) {
|
|
|
+ if (window.sessionStorage.agileauthtoken == undefined) {
|
|
|
window.location.href = "http://10.230.26.15:8000/spfm/sysmgr/ssLogin?sysFlag=0";
|
|
|
+ //window.location.href = "http://cas.hl.cmcc/cas/login?service=?service=http%3A%2F%2F10.230.26.15%3A8000%2Fspfm%2Fsysmgr%2FssLogin%3FsysFlag%3D0"
|
|
|
} else {
|
|
|
next()
|
|
|
}
|