From 178528c8a1ca70183a61685a22b89c175c8cf3b2 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 24 十二月 2024 12:16:17 +0800
Subject: [PATCH] 显示样式修改

---
 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