|
|
@@ -313,11 +313,6 @@ export const hitVoice = () =>{
|
|
|
const innerAudioContext = uni.createInnerAudioContext()
|
|
|
innerAudioContext.autoplay = false
|
|
|
innerAudioContext.src = "/static/hit.mp3"
|
|
|
- innerAudioContext.onPlay()
|
|
|
- innerAudioContext.onError()
|
|
|
- innerAudioContext.onPause(function() {
|
|
|
- innerAudioContext.destroy()
|
|
|
- })
|
|
|
innerAudioContext.play()
|
|
|
}
|
|
|
|