Explorar o código

master elective - open student `report-table` - fault tolerance

hare8999@163.com %!s(int64=2) %!d(string=hai) anos
pai
achega
ae53e755aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/elective/generation/detail.vue

+ 1 - 1
src/views/elective/generation/detail.vue

@@ -272,7 +272,7 @@ export default {
           activeOpt: this.activeOpt,
           roundGroups: this.prevData.groups,
           models: res.data,
-          activeModels: res.data
+          activeModels: res.data?.filter(g => g.generation <= query.generation) || []
         }
         this.studentTableVisible = true
       }).finally(() => this.loading = false)