Commit 298b81c6 authored by 张俊's avatar 张俊

退出登录

parent 74641dcb
...@@ -197,7 +197,7 @@ export default { ...@@ -197,7 +197,7 @@ export default {
return return
} }
if (n == "logout") { if (n == "logout") {
this.$axios.get(`/apaas/system/v5/user/logout`).then(res=>{ this.$axios.post(`/apaas/system/v5/user/logout`).then(res=>{
if(res.data.code=='200'){ if(res.data.code=='200'){
this.$router.push('/login') this.$router.push('/login')
this.$store.commit('setUserInfo',null) this.$store.commit('setUserInfo',null)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment