Bläddra i källkod

题目添加学生ID

CzRger 3 veckor sedan
förälder
incheckning
b36e5cbaf3
1 ändrade filer med 1 tillägg och 0 borttagningar
  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