Эх сурвалжийг харах

修改点探测 正确率问题

plg 3 сар өмнө
parent
commit
828b330f56

+ 2 - 3
src/views/CognizeFaceDot.vue

@@ -507,12 +507,11 @@ const submitData = async () => {
     neutralResponse2.map((item) => {
         neutralAllTime2 += item.responseTime;
     });
-    let scoreFin = blockRight1.length / turnsNumber.value * 100
+    let scoreFin = blockRight1.length / (turnsNumber.value + 1) * 100
     if (scoreFin > 60) {
         userInfo.saveIspass('FDOT')
     }
-
-
+    console.log(scoreFin)
     if (!currentType.value) {
         ElMessage({
             message: `正确率为${(scoreFin).toFixed(2)}%`,