浏览代码

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

刘洋 2 年之前
父节点
当前提交
1b4643cd55
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/features/OnlineExam/Examing/QuestionBody.vue

+ 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 }
 );