zhanghua
2024-12-24 178528c8a1ca70183a61685a22b89c175c8cf3b2
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() {