Browse Source

保留当前分计算错误

Michael Wang 4 years ago
parent
commit
2ccfd28b7f
1 changed files with 1 additions and 6 deletions
  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;