Explorar o código

feat: 给分板题目自动滚动

chenhao %!s(int64=2) %!d(string=hai) anos
pai
achega
2647a1a0c7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/features/mark/MarkBoardTrack.vue

+ 1 - 0
src/features/mark/MarkBoardTrack.vue

@@ -92,6 +92,7 @@
           :key="index"
         >
           <div
+            :id="['q-',question.mainNumber,question.subNumber].join('-')"
             class="question tw-rounded tw-cursor-pointer tw-relative tw-mb-2"
             :class="isCurrentQuestion(question) && 'current-question'"
             @click="chooseQuestion(question)"