代码优化

This commit is contained in:
kron
2025-05-31 17:59:36 +08:00
parent ca182daaae
commit 50168486ba
5 changed files with 80 additions and 278 deletions

View File

@@ -58,7 +58,11 @@ onUnmounted(() => {
<AppBackground :type="1" />
<Header title="个人单组练习" />
<ShootProgress
:tips="`请开始射箭第${roundsName[Math.ceil((scores.length + 1) / 4)]}轮`"
:tips="`${
scores.length === 12
? ''
: `请开始射箭第${roundsName[Math.ceil((scores.length + 1) / 4)]}轮`
}`"
:start="start"
:total="120"
/>