fix
This commit is contained in:
@@ -258,7 +258,7 @@ export default defineComponent({
|
|||||||
this.isMurmur =JSON.parse(isMurmur)
|
this.isMurmur =JSON.parse(isMurmur)
|
||||||
this.userInfo = JSON.parse(getCookie("userInfo"));
|
this.userInfo = JSON.parse(getCookie("userInfo"));
|
||||||
if (!this.userInfo) {
|
if (!this.userInfo) {
|
||||||
this.$router.replace("/login");
|
this.$router.replace("/");
|
||||||
} else {
|
} else {
|
||||||
this.accountIsLogin(this.userInfo);
|
this.accountIsLogin(this.userInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user