add comments

This commit is contained in:
lb
2022-08-02 17:06:11 +08:00
parent edc8a10cc3
commit 0566808861
6 changed files with 17 additions and 15 deletions

View File

@@ -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()