|
@@ -85,6 +85,10 @@ const getClassRoomInfo = obj => { |
|
|
console.log(res.data); |
|
|
console.log(res.data); |
|
|
ready.value = true; |
|
|
ready.value = true; |
|
|
nextTick(() => { |
|
|
nextTick(() => { |
|
|
|
|
|
stuEnterListRef.value.init(); |
|
|
|
|
|
classStatisticsRef.value.init(); |
|
|
|
|
|
classNoticeRef.value.init(); |
|
|
|
|
|
classAnalysisRef.value.init(); |
|
|
myHeaderRef.value.setBoder(); |
|
|
myHeaderRef.value.setBoder(); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
@@ -95,10 +99,10 @@ var timer = ""; |
|
|
const refresh = (fn = () => {}, time = 5000) => { |
|
|
const refresh = (fn = () => {}, time = 5000) => { |
|
|
timer = setInterval(async () => { |
|
|
timer = setInterval(async () => { |
|
|
await fn(); |
|
|
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); |
|
|
}, time); |
|
|
}; |
|
|
}; |
|
|
// 监控 |
|
|
// 监控 |
|
|