fix: bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user