wwp 2 months ago
parent
commit
3046754788
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      SafeCampus.WEB/src/views/screen/classroom.vue

+ 8
- 4
SafeCampus.WEB/src/views/screen/classroom.vue View File

@@ -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);
};
// 监控


Loading…
Cancel
Save