BUG修复
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -148,6 +148,7 @@ onMounted(() => {
|
||||
</view>
|
||||
</ScreenHint>
|
||||
<BowData
|
||||
:total="result.completed_arrows"
|
||||
:arrows="result.arrows"
|
||||
:show="showBowData"
|
||||
:onClose="() => (showBowData = false)"
|
||||
|
||||
Reference in New Issue
Block a user