From 1aec2bdf5d71df8e120b3ead4b104fb3438f4713 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 30 五月 2024 11:20:20 +0800
Subject: [PATCH] 编辑试卷时选择部门出现对应的课目

---
 src/App.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index 29f4cab..6425799 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -27,8 +27,9 @@
     ...mapState('enumItem',{Islogin:state => state.user.levelEnum})
   },
   mounted () {
-
-    console.log(this.Islogin)
+    if (! sessionStorage.getItem('deptAdmin')) {
+      this.$router.push({ path: '/' })
+    }
     this.seachPageDepartMentList()
   },
   methods:{

--
Gitblit v1.8.0