5.21修改所有已出现的bug和优化。

This commit is contained in:
hyt 2024-05-24 17:00:59 +08:00
parent 8ed8c085e8
commit c3059fa275
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ export default {
this.$store.dispatch("LogOut").then(() => { this.$store.dispatch("LogOut").then(() => {
Cookies.remove("automaticLogin"); Cookies.remove("automaticLogin");
this.$store.commit("REMOVE_ROUTER"); this.$store.commit("REMOVE_ROUTER");
this.$store.dispatch("tagsView/delAllViews");
// location.href = '/login'; // location.href = '/login';
this.$router.replace({ path: "/login" }); this.$router.replace({ path: "/login" });
// this.$router.push("/login"); // this.$router.push("/login");