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

保留当前分计算错误

Michael Wang преди 4 години
родител
ревизия
2ccfd28b7f
променени са 1 файла, в които са добавени 1 реда и са изтрити 6 реда
  1. 1 6
      src/features/mark/MarkBody.vue

+ 1 - 6
src/features/mark/MarkBody.vue

@@ -84,12 +84,7 @@ export default defineComponent({
             (store.currentQuestion.score || 0) * 100 -
             store.currentScore * 2 * 100
         ) / 100;
-      if (
-        (ifKeepScore < 0 && store.currentScore > 0) ||
-        Math.round(ifKeepScore * 100) %
-          Math.round(store.currentQuestion.intervalScore * 100) !==
-          0
-      ) {
+      if (ifKeepScore < 0 && store.currentScore > 0) {
         store.currentScore = undefined;
       }
       const markResult = store.currentMarkResult;