关闭音频开关提示
This commit is contained in:
parent
ebeb3c5314
commit
188daa961d
|
|
@ -491,10 +491,10 @@ export default {
|
||||||
this.audioContext.onPlay(() => {
|
this.audioContext.onPlay(() => {
|
||||||
console.log("音频开始播放");
|
console.log("音频开始播放");
|
||||||
this.isAudioPlaying = true;
|
this.isAudioPlaying = true;
|
||||||
uni.showToast({
|
// uni.showToast({
|
||||||
title: "音频已开启",
|
// title: "音频已开启",
|
||||||
icon: "none",
|
// icon: "none",
|
||||||
});
|
// });
|
||||||
});
|
});
|
||||||
|
|
||||||
this.audioContext.onError((err) => {
|
this.audioContext.onError((err) => {
|
||||||
|
|
@ -533,10 +533,10 @@ export default {
|
||||||
this.audioContext = null;
|
this.audioContext = null;
|
||||||
}
|
}
|
||||||
this.isAudioPlaying = false;
|
this.isAudioPlaying = false;
|
||||||
uni.showToast({
|
// uni.showToast({
|
||||||
title: "音频已关闭",
|
// title: "音频已关闭",
|
||||||
icon: "none",
|
// icon: "none",
|
||||||
});
|
// });
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user