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