Skip to content

Commit

Permalink
fix: 【知识库】当文档为空时,关联分段错误修复 (1Panel-dev#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdan-fit2cloud authored Apr 16, 2024
1 parent 9cd15a8 commit 5b7ae29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/views/problem/component/RelateProblemDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function associationClick(item: any) {
function searchHandle() {
paginationConfig.current_page = 1
paragraphList.value = []
getParagraphList(currentDocument.value)
currentDocument.value && getParagraphList(currentDocument.value)
}
function clickDocumentHandle(item: any) {
Expand Down

0 comments on commit 5b7ae29

Please sign in to comment.