Procházet zdrojové kódy

💊 修改计分统计问题

快乐的梦鱼 před 1 měsícem
rodič
revize
843097b4e3

+ 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;
 });