|
|
@ -27,7 +27,7 @@ export default { |
|
|
|
this.$http('POST', '/agentnew/login_out', {}).then(response => { |
|
|
|
if(response.status){ |
|
|
|
localStorage.removeItem('token') |
|
|
|
window.location.href = process.env.VUE_APP_BASE_API; |
|
|
|
window.location.href = process.env.VUE_APP_HOST; |
|
|
|
}else{ |
|
|
|
this.$message.error(response.data.info) |
|
|
|
} |
|
|
|