From 227d8c7524a52936afedc8d2fef91e7e020bd927 Mon Sep 17 00:00:00 2001 From: wangyifeng <812766448@qq.com> Date: Mon, 7 Jul 2025 10:35:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=87=AA=E5=8A=A8=E7=BB=93?= =?UTF-8?q?=E6=9D=9F=E9=BA=A6=E5=85=8B=E9=A3=8E=E5=8D=A0=E7=94=A8=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BB=B6=E6=97=B6=E5=92=8C=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=88=A4=E6=96=AD=EF=BC=8C=E9=98=B2=E6=AD=A2=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=BB=93=E6=9D=9F=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../all-speech/components/all-speech/all-speech.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/uni_modules/all-speech/components/all-speech/all-speech.vue b/src/uni_modules/all-speech/components/all-speech/all-speech.vue index 7874be9..b008e9c 100644 --- a/src/uni_modules/all-speech/components/all-speech/all-speech.vue +++ b/src/uni_modules/all-speech/components/all-speech/all-speech.vue @@ -401,7 +401,11 @@ export default { console.log('已获得录音权限,可以开始录音了') that.permisionState = true that.isCheckingPermission = false - that.stopRecord() + setTimeout(() => { + if (!that.recordPopupShow) { + that.stopRecord() + } + }, 2000) }, (msg, isUserNotAllow) => { that.isCheckingPermission = false