BUG修复
This commit is contained in:
@@ -21,6 +21,10 @@ const props = defineProps({
|
|||||||
type: Array,
|
type: Array,
|
||||||
default: () => [],
|
default: () => [],
|
||||||
},
|
},
|
||||||
|
total: {
|
||||||
|
type: Number,
|
||||||
|
default: 0,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -51,7 +55,7 @@ const props = defineProps({
|
|||||||
<ScorePanel
|
<ScorePanel
|
||||||
:completeEffect="false"
|
:completeEffect="false"
|
||||||
:rowCount="arrows.length === 12 ? 6 : 9"
|
:rowCount="arrows.length === 12 ? 6 : 9"
|
||||||
:total="arrows.length"
|
:total="total"
|
||||||
:scores="arrows.map((a) => a.ring)"
|
:scores="arrows.map((a) => a.ring)"
|
||||||
:margin="arrows.length === 12 ? 4 : 1"
|
:margin="arrows.length === 12 ? 4 : 1"
|
||||||
:fontSize="arrows.length === 12 ? 25 : 22"
|
:fontSize="arrows.length === 12 ? 25 : 22"
|
||||||
|
|||||||
@@ -148,6 +148,7 @@ onMounted(() => {
|
|||||||
</view>
|
</view>
|
||||||
</ScreenHint>
|
</ScreenHint>
|
||||||
<BowData
|
<BowData
|
||||||
|
:total="result.completed_arrows"
|
||||||
:arrows="result.arrows"
|
:arrows="result.arrows"
|
||||||
:show="showBowData"
|
:show="showBowData"
|
||||||
:onClose="() => (showBowData = false)"
|
:onClose="() => (showBowData = false)"
|
||||||
|
|||||||
Reference in New Issue
Block a user