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
+2 -2
View File
@@ -130,7 +130,7 @@ onShow(() => {
<template>
<Container title="弓箭绑定">
<view v-if="!device.deviceId" class="scan-code">
<button hover-class="none" @click="handleScan">
<button hover-class="none" @click="$clickSound(handleScan)">
<image src="../static/scan.png" mode="widthFix" />
</button>
<button hover-class="none" @click="showTip = true">
@@ -269,7 +269,7 @@ onShow(() => {
</view>
</view>
<view :style="{ marginTop: '240rpx' }">
<SButton :onClick="unbindDevice" width="80vw" :rounded="40"
<SButton :onClick="() => $clickSound(unbindDevice)" width="80vw" :rounded="40"
>解绑</SButton
>
</view>