fix: Play()时重置num=0,修复连续播报只播第一个音效的bug

This commit is contained in:
testadmin
2026-05-12 22:10:33 +08:00
parent 1b59c97813
commit 989c768bcf
+1
View File
@@ -42,6 +42,7 @@ function audioMp3(mp3List) {
mp3.auto_play = false
mp3.loop = false
mp3.Play = function () {
num = 0
if (this.mp3List[0]) {
sourceElement.src = getBlob(this.mp3List[0])
sourceElement.type = "audio/mpeg"