forked from mt-fe-group/mt-yd-ui
add comments
This commit is contained in:
@@ -89,8 +89,8 @@ export default {
|
||||
cancelButtonText: this.$t('cancel'),
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.$http.post('/logout').then(({ data: res }) => {
|
||||
if (res.code !== 0) {
|
||||
this.$http.post('/doLogout').then(({ data: res }) => {
|
||||
if (res.code !== 200) {
|
||||
return this.$message.error(res.msg)
|
||||
}
|
||||
clearLoginInfo()
|
||||
|
||||
Reference in New Issue
Block a user