|
@ -162,7 +162,10 @@ export default { |
|
|
|
|
|
|
|
|
this.$http.post('/auth/login/logout').then(({ data: res }) => { |
|
|
this.$http.post('/auth/login/logout').then(({ data: res }) => { |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|
return this.$message.error(res.msg) |
|
|
//别处登陆时 退出不提示 直接跳登陆页即可 |
|
|
|
|
|
if (res.code !== 10007){ |
|
|
|
|
|
this.$message.error(res.msg) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
clearLoginInfo() |
|
|
clearLoginInfo() |
|
|