fix:修复扫雷的样式错误

This commit is contained in:
tsui110 2026-01-03 22:04:40 +08:00
parent 83377543f8
commit 676035c5d0

View File

@ -707,12 +707,13 @@ export default {
this.addLog('system', endMsg); this.addLog('system', endMsg);
// //
// type: 'success'
if (winnerId === this.myUserId) { if (winnerId === this.myUserId) {
uni.vibrateShort({ type: 'success' }); uni.vibrateShort({ type: 'success' });
} else if (winnerId === 'draw') { } else if (winnerId === 'draw') {
uni.vibrateShort({ type: 'warning' }); uni.vibrateShort(); // 使
} else { } else {
uni.vibrateShort({ type: 'fail' }); uni.vibrateShort(); // 使
} }
} }
}, },