From 3545c432c9e25511611575d6efa2a31078922f2d Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 13 一月 2025 10:02:45 +0800 Subject: [PATCH] bug修改 --- src/views/student/index.vue | 19 ++++++++----------- 1 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/views/student/index.vue b/src/views/student/index.vue index c45ea31..9342e53 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" @@ -45,7 +45,8 @@ fit height="100%" > - <el-table-column label="濮撳悕" prop=""> + <el-table-column label="濮撳悕" prop="" + width="300"> <template slot-scope="scope"> <el-link type="primary" @@ -60,7 +61,7 @@ </el-table-column> <el-table-column label="鎬у埆" - width="80" + width="200" v-if="activeName !== 'deactivated'" > <template slot-scope="scope"> @@ -69,7 +70,7 @@ </el-table-column> <el-table-column label="鎵嬫満鍙�" - width="200" + width="300" prop="mobile" v-if="activeName !== 'deactivated'" > @@ -79,8 +80,8 @@ </el-table-column> <el-table-column label="鏄惁缁戝畾寰俊" - width="200" - v-if="activeName !== 'deactivated'" + v-if="activeName !== 'deactivated'" + min-width="200" > <template slot-scope="scope"> {{ scope.row.user ? "鏄�" : "鍚�" }} @@ -186,11 +187,7 @@ // this.$router.push("/login"); // } // } - if (localStorage.getItem("user")) { - this.fetchData(); - } else { - this.$router.push("/login"); - } + this.fetchData(); }, methods: { handleExport() { -- Gitblit v1.8.0