提醒播放结束,销毁组件

This commit is contained in:
2022-02-07 11:29:49 +08:00
parent eb88bf56f8
commit 7b932ec8e3
3 changed files with 2 additions and 174 deletions

View File

@@ -201,7 +201,8 @@ const triTone = () => {
tipState = true
})
innerAudioContext.onEnded(() => {
tipState = false
tipState = false
innerAudioContext.destroy()
})
}
}