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() {