diff --git a/src/components/PlayerScore.vue b/src/components/PlayerScore.vue index 54fea32..e18bf7e 100644 --- a/src/components/PlayerScore.vue +++ b/src/components/PlayerScore.vue @@ -15,6 +15,12 @@ const props = defineProps({ }); const rowCount = new Array(6).fill(0); + +const getRingText = (arrow) => { + if (!arrow) return "-"; + if (arrow.ringX && arrow.ring) return "X环"; + return arrow.ring ? `${arrow.ring}环` : "-"; +};