From b76fd2fa93c2036d66e5142654cf66cf1e371531 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 30 四月 2024 17:12:34 +0800 Subject: [PATCH] 改为连表查询 --- src/views/login.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 623456e..79d950a 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -191,9 +191,9 @@ this.loginInfo = loginInfo.user //濡傛灉杩斿洖涓�1姝e父璺宠浆 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) } -- Gitblit v1.8.0