From 3b7181ccc8f3e9c233de96fc1221d8ffe73ac001 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 17 五月 2024 10:10:28 +0800
Subject: [PATCH] 张先强改文件

---
 src/views/login/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 37ef440..ae39751 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -165,7 +165,8 @@
               console.log(result)
               _this.seachPageDepartMentList()
               _this.setUserName(_this.loginForm.userName)
-              _this.$router.push({ path: '/' })
+              sessionStorage.setItem('deptAdmin', result.response.deptAdmin)
+              _this.$router.push({ path: '/dashboard' })
             } else {
               _this.loading = false
               _this.$message({

--
Gitblit v1.8.0