diff --git a/src/views/main.vue b/src/views/main.vue index 8f9be87..ac2b54e 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -367,7 +367,7 @@ export default { } else { this.routertitleindex = 7 } - if (to.fullPath == '/login') { + if (to.fullPath == '/login' || !localStorage.getItem("LOGIN_DATA")) { this.loginPage = true this.isLogin = false } else {