|
|
@@ -137,14 +137,19 @@ import { setTimeout } from 'timers';
|
|
|
},
|
|
|
//退出
|
|
|
loginout(){
|
|
|
- this.$router.push({path:'/name'});
|
|
|
- this.loginout2()
|
|
|
- },
|
|
|
- loginout2(){
|
|
|
+ //this.$router.push({path:'/name'});
|
|
|
const frame = window.frames[window.frames.length - 1]
|
|
|
frame.postMessage('', '*')
|
|
|
Session.remove()
|
|
|
- }
|
|
|
+ window.location.href=this.$url.sso+'/logquit?appId=sp&returnURL=https://'+window.location.host
|
|
|
+ // this.loginout2()
|
|
|
+ }
|
|
|
+ // ,
|
|
|
+ // loginout2(){
|
|
|
+ // const frame = window.frames[window.frames.length - 1]
|
|
|
+ // frame.postMessage('', '*')
|
|
|
+ // Session.remove()
|
|
|
+ // }
|
|
|
},
|
|
|
}
|
|
|
</script>
|