shish 1 سال پیش
والد
کامیت
668ffb4bf9
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      ghsPad/src/utils/util.js
  2. 1 0
      hdPad/src/utils/util.js

+ 1 - 0
ghsPad/src/utils/util.js

@@ -316,6 +316,7 @@ export const noStockRemind = () =>{
 }
 
 export const hitVoice = () =>{
+	return true
 	const innerAudioContext = uni.createInnerAudioContext()
 	innerAudioContext.autoplay = true
 	innerAudioContext.src = "/static/hit.mp3"

+ 1 - 0
hdPad/src/utils/util.js

@@ -316,6 +316,7 @@ export const noStockRemind = () =>{
 }
 
 export const hitVoice = () =>{
+	return true
 	const innerAudioContext = uni.createInnerAudioContext()
 	innerAudioContext.autoplay = true
 	innerAudioContext.src = "/static/hit.mp3"