Commit 6cff6c7d authored by 冯超鹏's avatar 冯超鹏

报警弹出bug

parent dcba312d
Pipeline #70 canceled with stages
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
async logout() { async logout() {
await this.$store.dispatch('user/logout'); await this.$store.dispatch('user/logout');
this.$notify.closeAll(); this.$notify.closeAll();
this.webscoket.onclose(); this.$router.go(0);
this.$router.push(`/login?redirect=${this.$route.fullPath}`); this.$router.push(`/login?redirect=${this.$route.fullPath}`);
}, },
}, },
......
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