|
@@ -265,6 +265,18 @@ export default defineComponent({
|
|
}
|
|
}
|
|
if (store.setting.mode !== ModeEnum.TRACK) {
|
|
if (store.setting.mode !== ModeEnum.TRACK) {
|
|
markResult.trackList = [];
|
|
markResult.trackList = [];
|
|
|
|
+ } else {
|
|
|
|
+ const trackScores =
|
|
|
|
+ (markResult.trackList
|
|
|
|
+ .map((q) => Math.round((q.score || 0) * 100))
|
|
|
|
+ .reduce((acc, s) => acc + s) || 0) / 100;
|
|
|
|
+ if (trackScores !== markResult.markerScore) {
|
|
|
|
+ message.error({
|
|
|
|
+ content: "轨迹分与总分不一致,请检查。",
|
|
|
|
+ duration: 3,
|
|
|
|
+ });
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if (store.setting.forceSpecialTag) {
|
|
if (store.setting.forceSpecialTag) {
|
|
if (
|
|
if (
|