mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
perf: pdf
This commit is contained in:
parent
34e84602ff
commit
be4f0ffb6b
|
|
@ -131,7 +131,11 @@ const props = defineProps({
|
|||
|
||||
const emit = defineEmits(['openExecutionDetail', 'openParagraph', 'openParagraphDocument'])
|
||||
const showPDF = (item: any) => {
|
||||
return item.document_name.toLocaleLowerCase().endsWith('.pdf') && item.meta?.source_file_id
|
||||
return (
|
||||
item.document_name.toLocaleLowerCase().endsWith('.pdf') &&
|
||||
item.meta?.source_file_id &&
|
||||
!props.executionIsRightPanel
|
||||
)
|
||||
}
|
||||
const dialogVisible = ref(false)
|
||||
const dialogTitle = ref('')
|
||||
|
|
|
|||
Loading…
Reference in New Issue