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(); // 失败使用普通震动 } } },