fix: bug

This commit is contained in:
杨航
2025-12-04 19:11:45 +08:00
parent b38cb9ecf5
commit a8f46124c7
+4 -2
View File
@@ -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;