feat: 对话过程中不允许点击versionTree
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
isPaused.value = false
|
||||
isGenerating.value = true
|
||||
params.message = message.text
|
||||
if (message.hasOwnProperty('useReport')) {
|
||||
if (Object.prototype.hasOwnProperty.call(message, 'useReport')) {
|
||||
params.useReport = message.useReport
|
||||
}
|
||||
|
||||
@@ -589,7 +589,7 @@
|
||||
thinkingText: combinedThinkingText,
|
||||
text: combinedContent,
|
||||
image_url: combinedImageUrl,
|
||||
webAddress: !!webAddress ? JSON.parse(webAddress) : null,
|
||||
webAddress: webAddress ? JSON.parse(webAddress) : null,
|
||||
isUser: false,
|
||||
id: result.length + 1,
|
||||
sessionId: sessionId
|
||||
@@ -688,7 +688,8 @@
|
||||
}
|
||||
|
||||
defineExpose({
|
||||
setChatInfo
|
||||
setChatInfo,
|
||||
isGenerating
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user