BUG修复

This commit is contained in:
kron
2025-11-17 14:30:54 +08:00
parent bb8f1c715e
commit 77f0460dd3
2 changed files with 6 additions and 1 deletions

View File

@@ -21,6 +21,10 @@ const props = defineProps({
type: Array,
default: () => [],
},
total: {
type: Number,
default: 0,
},
});
</script>
@@ -51,7 +55,7 @@ const props = defineProps({
<ScorePanel
:completeEffect="false"
:rowCount="arrows.length === 12 ? 6 : 9"
:total="arrows.length"
:total="total"
:scores="arrows.map((a) => a.ring)"
:margin="arrows.length === 12 ? 4 : 1"
:fontSize="arrows.length === 12 ? 25 : 22"

View File

@@ -148,6 +148,7 @@ onMounted(() => {
</view>
</ScreenHint>
<BowData
:total="result.completed_arrows"
:arrows="result.arrows"
:show="showBowData"
:onClose="() => (showBowData = false)"