|
|
@@ -3329,6 +3329,12 @@ const getMessages = (msgObj: any) => {
|
|
|
}, 1000)
|
|
|
}
|
|
|
|
|
|
+ // 处理英语口语状态更新 - 学生开始/完成对话时,刷新班级答题面板
|
|
|
+ if (props.type == '1' && msgObj.type === 'speaking_session_updated' && msgObj.courseid === props.courseid) {
|
|
|
+ console.log('收到英语口语状态更新,触发面板刷新')
|
|
|
+ speakingPanelRef.value?.scheduleRefetch?.()
|
|
|
+ }
|
|
|
+
|
|
|
// 计时器消息 - 学生与老师端实时显示
|
|
|
if (msgObj.type === 'timer_start' && msgObj.courseid === props.courseid) {
|
|
|
applyTimerStart(msgObj.payload)
|