From 68b8ed3b4b7ddbb5fe113c1d7df3aa909dc66fb6 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 03 七月 2024 18:37:29 +0800 Subject: [PATCH] feat:新增随机时间题目配置 --- 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