diff --git a/ui/src/views/problem/component/RelateProblemDialog.vue b/ui/src/views/problem/component/RelateProblemDialog.vue index 36fc47d62..0ac461bbb 100644 --- a/ui/src/views/problem/component/RelateProblemDialog.vue +++ b/ui/src/views/problem/component/RelateProblemDialog.vue @@ -172,7 +172,7 @@ function getDocument() { cloneDocumentList.value = res.data documentList.value = res.data currentDocument.value = cloneDocumentList.value?.length > 0 ? cloneDocumentList.value[0].id : '' - getParagraphList(currentDocument.value) + currentDocument.value && getParagraphList(currentDocument.value) }) }