提交 466e6ec0 authored 作者: huaxinzhu's avatar huaxinzhu

11

上级 43c19f04
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
} }
}) })
.catch(() => { .catch(() => {
}) })
}, },
gotosso() { gotosso() {
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
this.$store.dispatch('Statistic') this.$store.dispatch('Statistic')
this.$store.dispatch('FedLogOut') this.$store.dispatch('FedLogOut')
var ssa = window.location.host; var ssa = window.location.host;
var ht = document.location.protocol var ht = document.location.protocol
let that = this let that = this
setTimeout(function () { setTimeout(function () {
if (ssa == 'localhost:1024') { if (ssa == 'localhost:1024') {
...@@ -104,7 +104,8 @@ ...@@ -104,7 +104,8 @@
.catch(() => { .catch(() => {
this.$store.dispatch('FedLogOut') this.$store.dispatch('FedLogOut')
var ssa = window.location.host var ssa = window.location.host
var ht = document.location.protocol var ht = document.location.protocol
let that = this
setTimeout(function () { setTimeout(function () {
if (ssa == 'localhost:1024') { if (ssa == 'localhost:1024') {
window.location.href = ht+'//'+that.ssourl+'/logout?redirect='+ht+'//' + ssa + '/login' window.location.href = ht+'//'+that.ssourl+'/logout?redirect='+ht+'//' + ssa + '/login'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论