Эх сурвалжийг харах

bug fix:套题切换的时候,题干内容没有变化

刘洋 2 жил өмнө
parent
commit
1b4643cd55

+ 1 - 1
src/features/OnlineExam/Examing/QuestionBody.vue

@@ -12,7 +12,7 @@ let questionSegements: {
 } | null = $ref(null);
 
 watch(
-  () => store.exam.currentQuestion?.order,
+  [() => store.exam.currentQuestion?.order, () => props.questionBody],
   () => parseQuestion(),
   { immediate: true }
 );