소스 검색

💊 修改计分统计问题

快乐的梦鱼 1 개월 전
부모
커밋
843097b4e3
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/pages/collect/assessment/components/EvaluationFormBlock.vue

+ 1 - 0
src/pages/collect/assessment/components/EvaluationFormBlock.vue

@@ -429,6 +429,7 @@ const totalPoints = computed(() => {
     const maxPoints = parent?.points ?? Infinity;
     total += Math.min(groupScore, maxPoints);
   }
+  total -= (props.currentForm.deductPoints ?? 0);
   return total;
 });