Skip to content

Commit

Permalink
fix: 修复接口传入类型参数没有输入时,历史会话重新生成没有拦截的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruibin committed Sep 20, 2024
1 parent b7a62ea commit 4d57cea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/src/components/ai-chat/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,9 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean) {
}
function regenerationChart(item: chatType) {
if (!checkInputParam()) {
return
}
inputValue.value = item.problem_text
if (!loading.value) {
chatMessage(null, '', true)
Expand Down

0 comments on commit 4d57cea

Please sign in to comment.