首页login

jc1.0
fanluyan 1 year ago
parent 6a648ee743
commit 4ed2c64309

@ -66,10 +66,10 @@ export default {
type: "success",
});
//this.$store.commit("REMOVE_INFO");
// this.$router.push("/login");
console.log(this.$cookies.get("Admin-Token"));
this.$cookies.remove("Admin-Token");
window.location.href = this.hostName + "/#/login";
this.$router.push("/login");
// console.log(this.$cookies.get("Admin-Token"));
// this.$cookies.remove("Admin-Token");
// window.location.href = this.hostName + "/#/login";
break;
}
},

@ -11,7 +11,7 @@ const routes = [
},
{
path: "/",
redirect: "/dataReport",
redirect: "/homepage",
component: () => import("../components/Home.vue"),
children: [
{

@ -105,7 +105,7 @@ export default {
message: "登录成功",
type: "success",
});
this.$router.push("/");
this.$router.push("/home");
return;
} else {
this.$message({

Loading…
Cancel
Save