Просмотр исходного кода

style(speaking): fix lint double-space in notifySpeakingProgress comment

jimmylee 2 месяцев назад
Родитель
Сommit
eca405316d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/Student/index.vue

+ 1 - 1
src/views/Student/index.vue

@@ -562,7 +562,7 @@ const choiceQuestionDetailDialogOpenList = ref<number[]>([])
 const speakingPanelRef = ref<InstanceType<typeof SpeakingClassPanel> | null>(null)
 const speakingPanelRef = ref<InstanceType<typeof SpeakingClassPanel> | null>(null)
 
 
 provide('notifySpeakingProgress', (status: 'active' | 'completed', payload: { configId: string; sessionId: string }) => {
 provide('notifySpeakingProgress', (status: 'active' | 'completed', payload: { configId: string; sessionId: string }) => {
-  if (props.type !== '2') return  // 只有学生客户端发广播
+  if (props.type !== '2') return // 只有学生客户端发广播
   sendMessage({
   sendMessage({
     type: 'speaking_session_updated',
     type: 'speaking_session_updated',
     courseid: props.courseid,
     courseid: props.courseid,