src/views/login.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/views/login.vue
@@ -191,9 +191,9 @@ this.loginInfo = loginInfo.user //如果返回为1正常跳转 if (this.loginInfo.firstLogin == 1) { this.$router.push({ path: "/" }).catch(() => { }); return; this.$router.push({ path: this.redirect || "/" }).catch(() => { }); // this.$router.push({ path: "/" }).catch(() => { }); // return; this.$router.push({ path: this.redirect || "/screen" }).catch(() => { }); } else { localStorage.setItem('firstLogin', 0) }