From c04172de509fbfe8a6ec87efcb2332933ccee898 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 23 Jan 2024 19:53:11 +0800
Subject: [PATCH] 登录逻辑异常

---
 src/page/login/userlogin.vue |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/src/page/login/userlogin.vue b/src/page/login/userlogin.vue
index 4601aed..1385a6b 100644
--- a/src/page/login/userlogin.vue
+++ b/src/page/login/userlogin.vue
@@ -224,13 +224,8 @@
                             }
                         }
 
-                        if (JSON.stringify(res) == '{}') {
-                            this.$router.push({ path: this.tagWel.value })
-                        } else {
-                            this.$router.$avueRouter.formatRoutes(res.menuData, true)
-
-                            this.$router.push({ path: res.fistMenu.path })
-                        }
+                        this.$router.$avueRouter.formatRoutes(res.menuData, true)
+                        this.$router.push({ path: res.fistMenu.path })
 
                         loading.close()
                     }).catch(() => {

--
Gitblit v1.9.3