fix: bug
This commit is contained in:
@@ -254,7 +254,7 @@ const audioCacheObj = computed(() => storageStore.audioObj)
|
||||
const itemVoice = ref('')
|
||||
|
||||
const showWithdraw = computed(()=>{
|
||||
let _isMe = unref(lastQuestionInfo).qnsLogId === unref(dataInfo).qnsLogId
|
||||
let _isMe = unref(lastQuestionInfo).qstLogId === unref(dataInfo).qstLogId
|
||||
let _isQuestion = unref(lastQuestionInfo).isQuestion
|
||||
return _isMe && _isQuestion
|
||||
})
|
||||
|
||||
@@ -446,7 +446,7 @@ const getQuestionInfoUnStudy = (pgrphId) => {
|
||||
id: _id,
|
||||
isQuestion: true
|
||||
}
|
||||
talkingList.value.push(lastTalkingInfo.value)
|
||||
talkingList.value.push(JSON.parse(JSON.stringify(lastTalkingInfo.value)))
|
||||
qstLogId.value = _body.chatBody?.qstLogId
|
||||
scrollToBottomNow()
|
||||
}else{
|
||||
@@ -786,6 +786,7 @@ const submitAnswerNow = (val, cb) => {
|
||||
talkingVoice: '',
|
||||
type: 2,
|
||||
userInfo: {...choiceTeacherInfo.value},
|
||||
qstLogId: qstLogId.value,
|
||||
id: _id
|
||||
})
|
||||
scrollToBottomNow()
|
||||
|
||||
Reference in New Issue
Block a user