登录逻辑修改

cyl/dev
zsk 2 years ago
parent 3fa494c50e
commit 7cdf5b69f2

@ -367,7 +367,7 @@ export default {
} else { } else {
this.routertitleindex = 7 this.routertitleindex = 7
} }
if (to.fullPath == '/login') { if (to.fullPath == '/login' || !localStorage.getItem("LOGIN_DATA")) {
this.loginPage = true this.loginPage = true
this.isLogin = false this.isLogin = false
} else { } else {

Loading…
Cancel
Save