关闭音频开关提示

This commit is contained in:
WindowBird 2025-09-19 17:40:36 +08:00
parent ebeb3c5314
commit 188daa961d

View File

@ -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",
// });
},
},
};