diff --git a/SafeCampus.WEB/src/views/screen/classroom.vue b/SafeCampus.WEB/src/views/screen/classroom.vue index 0ccaaa3..0946790 100644 --- a/SafeCampus.WEB/src/views/screen/classroom.vue +++ b/SafeCampus.WEB/src/views/screen/classroom.vue @@ -85,6 +85,10 @@ const getClassRoomInfo = obj => { console.log(res.data); ready.value = true; nextTick(() => { + stuEnterListRef.value.init(); + classStatisticsRef.value.init(); + classNoticeRef.value.init(); + classAnalysisRef.value.init(); myHeaderRef.value.setBoder(); }); } @@ -95,10 +99,10 @@ var timer = ""; const refresh = (fn = () => {}, time = 5000) => { timer = setInterval(async () => { await fn(); - stuEnterListRef.value.init(); - classStatisticsRef.value.init(); - classNoticeRef.value.init(); - classAnalysisRef.value.init(); + // stuEnterListRef.value.init(); + // classStatisticsRef.value.init(); + // classNoticeRef.value.init(); + // classAnalysisRef.value.init(); }, time); }; // 监控