Skip to content

Commit 5b7ae29

Browse files
fix: 【知识库】当文档为空时,关联分段错误修复 (#124)
1 parent 9cd15a8 commit 5b7ae29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/problem/component/RelateProblemDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function associationClick(item: any) {
157157
function searchHandle() {
158158
paginationConfig.current_page = 1
159159
paragraphList.value = []
160-
getParagraphList(currentDocument.value)
160+
currentDocument.value && getParagraphList(currentDocument.value)
161161
}
162162
163163
function clickDocumentHandle(item: any) {

0 commit comments

Comments
 (0)