From 20642b59c174f188ab46a113ce39d79a879af0c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Tue, 24 Mar 2026 15:55:27 +0800 Subject: [PATCH] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E=E5=90=89?= =?UTF-8?q?=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84=E9=9C=80?= =?UTF-8?q?=E6=B1=82=5F=E4=BF=AE=E6=94=B9=E5=BD=95=E9=9F=B3=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E8=87=AA=E5=8A=A8=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Android/simpleDemo/build.gradle | 4 ++-- src/components/touch-btn/touch-btn.vue | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Android/simpleDemo/build.gradle b/Android/simpleDemo/build.gradle index a3e4e9c0..59efb01a 100644 --- a/Android/simpleDemo/build.gradle +++ b/Android/simpleDemo/build.gradle @@ -8,8 +8,8 @@ android { applicationId "cn.com.jlbank.ai" minSdkVersion 29 targetSdkVersion 33 - versionName System.getenv("versionName") ?: "1.0.3" - versionCode System.getenv("versionCode")?.toInteger() ?: 285 + versionName System.getenv("versionName") ?: "1.0.4" + versionCode System.getenv("versionCode")?.toInteger() ?: 286 multiDexEnabled true compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 diff --git a/src/components/touch-btn/touch-btn.vue b/src/components/touch-btn/touch-btn.vue index d70d3731..15b1bfea 100644 --- a/src/components/touch-btn/touch-btn.vue +++ b/src/components/touch-btn/touch-btn.vue @@ -628,8 +628,11 @@ console.log('录音时长定时器已清除'); } }; - clearRecordingTimer(); - if (!status) return; + + if (!status) { + clearRecordingTimer(); + return; + } const maxDuration = props.maxRecordDuration; durationTimer = setTimeout(() => { console.log(`录音达到最大时长 ${maxDuration} 秒,自动关闭`);