|
@@ -267,9 +267,9 @@ export default defineComponent({
|
|
markResult.trackList = [];
|
|
markResult.trackList = [];
|
|
} else {
|
|
} else {
|
|
const trackScores =
|
|
const trackScores =
|
|
- (markResult.trackList
|
|
|
|
|
|
+ markResult.trackList
|
|
.map((q) => Math.round((q.score || 0) * 100))
|
|
.map((q) => Math.round((q.score || 0) * 100))
|
|
- .reduce((acc, s) => acc + s) || 0) / 100;
|
|
|
|
|
|
+ .reduce((acc, s) => acc + s, 0) / 100;
|
|
if (trackScores !== markResult.markerScore) {
|
|
if (trackScores !== markResult.markerScore) {
|
|
message.error({
|
|
message.error({
|
|
content: "轨迹分与总分不一致,请检查。",
|
|
content: "轨迹分与总分不一致,请检查。",
|