From ffd780290bffc14229b4bb1d0e528f477105eeee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Fri, 8 Aug 2025 15:49:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E7=AD=94=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/course/components/touchBtn.vue | 4 ++-- src/pages/index/components/answer.vue | 2 +- src/pages/index/dialog.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 @@