zhangjie 3 tuần trước cách đây
mục cha
commit
4340b06376
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 2 2
      src/features/mark/composables/useMakeTrack.ts
  2. 1 1
      src/types/index.ts

+ 2 - 2
src/features/mark/composables/useMakeTrack.ts

@@ -233,8 +233,8 @@ export default function useMakeTrack() {
     }
 
     // 通过题目设置的第一个评卷区,随机生成一个轨迹
-    const { picList, qeustionPicList } = question;
-    const area = qeustionPicList ? qeustionPicList[0] : picList[0] || null;
+    const { picList, questionPicList } = question;
+    const area = questionPicList ? questionPicList[0] : picList[0] || null;
     if (!area) return;
 
     const imageSize = markStore.currentTaskSliceImages[area.i];

+ 1 - 1
src/types/index.ts

@@ -341,7 +341,7 @@ interface RawQuestion {
   /** 限制最小分数 */
   minScore: number;
   picList: SplitConfig[];
-  qeustionPicList: SplitConfig[] | null;
+  questionPicList: SplitConfig[] | null;
   // 1-单选,2-多选,3-判断,4-填空,5-问答
   questionType: 1 | 2 | 3 | 4 | 5;
   /** 未计分 */