fix: 修复接口传入类型参数没有输入时,历史会话重新生成没有拦截的问题
This commit is contained in:
parent
b7a62ea147
commit
a665a7f718
@ -768,6 +768,9 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function regenerationChart(item: chatType) {
|
function regenerationChart(item: chatType) {
|
||||||
|
if (!checkInputParam()) {
|
||||||
|
return
|
||||||
|
}
|
||||||
inputValue.value = item.problem_text
|
inputValue.value = item.problem_text
|
||||||
if (!loading.value) {
|
if (!loading.value) {
|
||||||
chatMessage(null, '', true)
|
chatMessage(null, '', true)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user