diff --git a/src/views/main.vue b/src/views/main.vue index 1f14776..8b7fd2f 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -144,7 +144,7 @@
- 注册/登录 + 注册/登录
进入稻田 @@ -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 {