添加X环显示,比赛过程完善

This commit is contained in:
kron
2026-02-09 17:27:44 +08:00
parent b355f4e009
commit a3fea0bb1f
18 changed files with 82 additions and 104 deletions

View File

@@ -63,8 +63,8 @@ const validArrows = computed(() => {
});
const getRing = (arrow) => {
if (arrow && arrow.x !== -30 && arrow.y !== -30) return arrow.ring;
return "-";
if (arrow.ringX) return "X";
return arrow.ring ? arrow.ring + "环" : "-";
};
</script>
@@ -160,7 +160,7 @@ const getRing = (arrow) => {
</view>
</ScreenHint>
<BowData
:total="result.completed_arrows"
:total="result.details.length"
:arrows="result.details"
:show="showBowData"
:onClose="() => (showBowData = false)"