diff --git a/ui/src/views/problem/component/RelateProblemDialog.vue b/ui/src/views/problem/component/RelateProblemDialog.vue index 0ac461bbb..61b903d05 100644 --- a/ui/src/views/problem/component/RelateProblemDialog.vue +++ b/ui/src/views/problem/component/RelateProblemDialog.vue @@ -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) {