diff --git a/src/pages/course/components/touchBtn.vue b/src/pages/course/components/touchBtn.vue index 00856383..c2a91d0d 100644 --- a/src/pages/course/components/touchBtn.vue +++ b/src/pages/course/components/touchBtn.vue @@ -113,6 +113,8 @@ const audioObj = uni.createInnerAudioContext() // app端 const recordObjCom = ref({}) const IsAndEnv = getPhoneEnvBool('AND') +const isStartNum = ref(0) +const isStopNum = ref(0) const initRecord = () => { recordObjCom.value = uni.getRecorderManager() unref(recordObjCom)?.onStop((res, duration)=>{ @@ -158,8 +160,6 @@ const initRecord = () => { } const startFlag = ref(1) // const canStart = ref(true) -const isStartNum = ref(0) -const isStopNum = ref(0) const startRecord = () => { isStartNum.value += 1 unref(recordObjCom).start({format:'mp3'}) diff --git a/src/pages/index/components/answer.vue b/src/pages/index/components/answer.vue index 930d6937..44adcc7e 100644 --- a/src/pages/index/components/answer.vue +++ b/src/pages/index/components/answer.vue @@ -81,7 +81,7 @@