diff --git a/ui/src/views/document-detail/paragraph-dialog/CreateParagraphDialog.vue b/ui/src/views/document-detail/paragraph-dialog/CreateParagraphDialog.vue index 9788658736c..882bef04cfd 100644 --- a/ui/src/views/document-detail/paragraph-dialog/CreateParagraphDialog.vue +++ b/ui/src/views/document-detail/paragraph-dialog/CreateParagraphDialog.vue @@ -87,8 +87,8 @@ defineExpose({ open, close }) diff --git a/ui/src/views/document-detail/paragraph-dialog/ParagraphDialog.vue b/ui/src/views/document-detail/paragraph-dialog/ParagraphDialog.vue index 39288ea6841..5338ac4c382 100644 --- a/ui/src/views/document-detail/paragraph-dialog/ParagraphDialog.vue +++ b/ui/src/views/document-detail/paragraph-dialog/ParagraphDialog.vue @@ -66,7 +66,6 @@ const loading = ref(false) const detailFailed = ref(false) const relatedQuestions = ref([]) const isImageDocument = computed(() => props.resourceType === DOCUMENT_RESOURCE_TYPE.IMAGE) -const showQuestions = computed(() => hasProblemReadPermission()) function loadParagraphDetail() { if (loading.value) return @@ -174,8 +173,8 @@ defineExpose({ open, close }) () const { resourceApi } = useDocumentDetailContext() const relatedProblems = defineModel({ required: true }) @@ -142,7 +141,7 @@ function handleRemoveProblem(index: number) {