Преглед на файлове

feat: 给分板题目自动滚动

chenhao преди 2 години
родител
ревизия
2647a1a0c7
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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)"