update 对dialog进行改版之前

This commit is contained in:
2022-08-09 16:16:34 +08:00
parent 2557026002
commit 669c8f90c6
4 changed files with 69 additions and 35 deletions

View File

@@ -91,9 +91,9 @@ export default {
})
.then(() => {
this.$http
.post(this.$http.adornUrl('/doLogout'))
.post(this.$http.adornUrl('/logout'))
.then(({ data: res }) => {
if (res.code !== 200) {
if (res.code !== 0) {
return this.$message.error(res.msg)
}
clearLoginInfo()