|
|
@@ -30,12 +30,14 @@
|
|
|
}
|
|
|
let params = a.substr(0, a.length - 1)
|
|
|
if (this.$route.query.baseUrl) {
|
|
|
- this.$jsonp(`${this.$route.query.baseUrl}`, {
|
|
|
+ this.$jsonp(this.$route.query.baseUrl, {
|
|
|
name: 'successCallback',
|
|
|
timeout: 3000
|
|
|
}, (err, data) => {
|
|
|
+ console.log(err)
|
|
|
if (err) {
|
|
|
- this.$message.error('退出失败,请重试')
|
|
|
+ this.$message.error('登录超时,请重试')
|
|
|
+ this.isShowLoading = false
|
|
|
throw err
|
|
|
} else {
|
|
|
this.logoutOther(response, params)
|