From 676035c5d0d986a536851a011880e82674539631 Mon Sep 17 00:00:00 2001 From: tsui110 Date: Sat, 3 Jan 2026 22:04:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=89=AB=E9=9B=B7?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages-game/game/minesweeper/play.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages-game/game/minesweeper/play.vue b/pages-game/game/minesweeper/play.vue index e4ddd9f..6b566f9 100644 --- a/pages-game/game/minesweeper/play.vue +++ b/pages-game/game/minesweeper/play.vue @@ -707,12 +707,13 @@ export default { this.addLog('system', endMsg); // 添加震动反馈 + // 微信小程序只支持 type: 'success' 或不传参数 if (winnerId === this.myUserId) { uni.vibrateShort({ type: 'success' }); } else if (winnerId === 'draw') { - uni.vibrateShort({ type: 'warning' }); + uni.vibrateShort(); // 平局使用普通震动 } else { - uni.vibrateShort({ type: 'fail' }); + uni.vibrateShort(); // 失败使用普通震动 } } },