浏览代码

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)"