From 28e78df1729329ef5e4d02b4787bd3ac5b3c3981 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Wed, 24 Jan 2024 14:10:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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