Commit 1e12a7d7 authored by 周毅's avatar 周毅

Merge branch 'master' of gitlab.gavelinfo.com:lisu/lxyl-vue

parents cc82dc93 631f52cd
......@@ -189,9 +189,15 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.$post('/logout').finally(()=>{
localStorage.clear()
this.$store.dispatch('LogOut').then(() => {
location.href = '/index';
})
})
}).catch(() => {});
}
}
......
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