This commit is contained in:
Vinjor 2024-11-07 14:31:54 +08:00
parent 1daae2dc43
commit b1ce5082b7

View File

@ -122,10 +122,16 @@
innerAudioContext.src = 'https://www.nuoyunr.com/lananRsc/rescue/msgV.mp3'; innerAudioContext.src = 'https://www.nuoyunr.com/lananRsc/rescue/msgV.mp3';
// #endif // #endif
// //
const playCount = 3; const playCount = 4;
let currentCount = 0; let currentCount = 0;
// //
innerAudioContext.play(); innerAudioContext.play();
//
uni.vibrateLong({
success: function () {
console.log('success');
}
});
innerAudioContext.onError((err) => { innerAudioContext.onError((err) => {
console.error('播放错误', err); console.error('播放错误', err);
this.ifPlay=false this.ifPlay=false