From a8f46124c7f03d6385ddd5ed64675f397c48c9da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Thu, 4 Dec 2025 19:11:45 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/sparring/tip.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/sparring/tip.vue b/src/pages/sparring/tip.vue index af43dd41..d17f119b 100644 --- a/src/pages/sparring/tip.vue +++ b/src/pages/sparring/tip.vue @@ -199,6 +199,8 @@ isLoading: true }); scrollToBottomNow(); + // 设为提问中状态 + answerIsOver.value = false commonUploadVoiceFile(voicePath, '/trapractice/traPartnerChat/voiceTrans', {}) .then((_res) => { if (!!(_res.body.transContent || '').trim()) { @@ -215,6 +217,7 @@ body: askData.value }); } else { + answerIsOver.value = true talkingList.value.pop(); uni.showToast({ title: '未识别到文字', @@ -224,6 +227,7 @@ } }) .catch((err) => { + answerIsOver.value = true talkingList.value.pop(); uni.showToast({ title: '系统异常,请联系管理员', @@ -333,8 +337,6 @@ return !(t.type === 'question' && t.isLoading) }) } - // 设为提问中状态 - answerIsOver.value = false // seqNo.value = body.seqNo; // touchBtnCallBack.value && touchBtnCallBack.value(); // touchBtnCallBack.value = null;