fix:全局按钮播放音效完成

This commit is contained in:
2026-05-19 17:24:02 +08:00
parent f44c22c594
commit 74ca0bb3d7
14 changed files with 36 additions and 22 deletions

View File

@@ -443,7 +443,7 @@ onBeforeUnmount(() => {
<PlayerSeats v-if="room.battleType === 2" :total="room.count || 10" :players="players"
:removePlayer="removePlayer" :isOwner="owner.id === user.id" />
<view>
<SButton :disabled="!canClick" :onClick="getReady">
<SButton :disabled="!canClick" :onClick="() => $clickSound(getReady)">
{{
allReady.value
? "即将进入对局..."