소스 검색

题目添加学生ID

CzRger 3 주 전
부모
커밋
b36e5cbaf3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/study/subject/question/index.vue

+ 1 - 0
src/views/study/subject/question/index.vue

@@ -222,6 +222,7 @@ const initQuestion = () => {
     subject: route.meta.subjectId,
     correct: state.question.type !== '错题',
     questionTypeCode: treeMapCpt.value.get(state.selected).questionTypeCode,
+    studentId: AppStore.studentInfo?.studentId,
   })
     .then(({ rows, total }: any) => {
       state.question.data = rows