|
|
@@ -23,7 +23,6 @@
|
|
|
this.$http.get('/sso/login/logout', {params: this.$route.query})
|
|
|
.then(response => {
|
|
|
if (response.data.success) {
|
|
|
- window.location.href = `${response.data.content.returnURL}`
|
|
|
for (let i = 0; i < response.data.content.logoutUrls.length; i++) {
|
|
|
if (response.data.content.logoutUrls[i]) {
|
|
|
this.$jsonp(`${response.data.content.logoutUrls[i]}`, function (err) {
|
|
|
@@ -31,6 +30,9 @@
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
+ setTimeout(function () {
|
|
|
+ window.location.href = `${response.data.content.returnURL}`
|
|
|
+ }, 1000)
|
|
|
}
|
|
|
})
|
|
|
}
|