|
@@ -94,8 +94,8 @@
|
|
|
}
|
|
|
} else {
|
|
|
console.log('没找到---->')
|
|
|
- // this.ssoGetLoginUser()
|
|
|
- this.logout()
|
|
|
+ localStorage.removeItem('serviceType');
|
|
|
+ store.dispatch('LogOut').then(() => {})
|
|
|
}
|
|
|
localStorage.setItem('windowHref', window.location.href)
|
|
|
},
|
|
@@ -128,12 +128,6 @@
|
|
|
// window.open('https://icas.jnu.edu.cn/cas/login?service=http://localhost:8081/sso/getLoginUser','_self')
|
|
|
})
|
|
|
},
|
|
|
- //退出
|
|
|
- logout() {
|
|
|
- logout(response => {
|
|
|
- // window.open('https://icas.jnu.edu.cn/cas/login?service=http://localhost:8081/sso/getLoginUser','_self')
|
|
|
- })
|
|
|
- },
|
|
|
//获取首页配置
|
|
|
initPage(){
|
|
|
initPage().then(response => {
|