소스 검색

feat: 评卷状态修改

chenhao 2 년 전
부모
커밋
7c22091fa5
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/modules/marking/mark/index.vue

+ 2 - 0
src/modules/marking/mark/index.vue

@@ -138,6 +138,8 @@ const historyTaskChange = (task: TaskInfoType) => {
 
 const getNextTask = () => {
   currentTask.value = currentTaskPool.shift()
+  currentTaskType.value =
+    currentTask.value && markStatusIcon[currentTask.value.taskType] ? currentTask.value.taskType : 'FORMAL'
   if (currentTaskPool.length < 2) {
     getMarkingTask()
   }