From bedf461ff5403517478598e9f36d3c1ce033925f Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期二, 24 十二月 2024 13:06:39 +0800 Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/dream_web --- src/views/student/index.vue | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/views/student/index.vue b/src/views/student/index.vue index c45ea31..9de881d 100644 --- a/src/views/student/index.vue +++ b/src/views/student/index.vue @@ -37,7 +37,7 @@ </el-input> </div> </div> - <div style="height: calc(100vh - 248px)"> + <div style="height: calc(100vh - 208px)"> <el-table v-loading="listLoading" :data="list" @@ -186,11 +186,7 @@ // this.$router.push("/login"); // } // } - if (localStorage.getItem("user")) { - this.fetchData(); - } else { - this.$router.push("/login"); - } + this.fetchData(); }, methods: { handleExport() { -- Gitblit v1.8.0