|
|
@ -94,7 +94,7 @@ export default { |
|
|
|
cancelButtonText: this.$t('cancel'), |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.$http.post('/auth/logout').then(({ data: res }) => { |
|
|
|
this.$http.post('/auth/login/logout').then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|