This commit is contained in:
X1627315083
2024-09-13 12:41:18 +08:00
parent 2bb2bae3fc
commit 2972b6129f

View File

@@ -258,7 +258,7 @@ export default defineComponent({
this.isMurmur =JSON.parse(isMurmur)
this.userInfo = JSON.parse(getCookie("userInfo"));
if (!this.userInfo) {
this.$router.replace("/login");
this.$router.replace("/");
} else {
this.accountIsLogin(this.userInfo);
}