diff --git a/apps/common/handle/impl/pdf_split_handle.py b/apps/common/handle/impl/pdf_split_handle.py index 99e238783..d5eb779c3 100644 --- a/apps/common/handle/impl/pdf_split_handle.py +++ b/apps/common/handle/impl/pdf_split_handle.py @@ -157,7 +157,7 @@ class PdfSplitHandle(BaseSplitHandle): chapter_text += text # 提取文本 # 保存章节内容和章节标题 - chapters.append({"title": chapter_title, "content": chapter_text}) + chapters.append({"title": chapter_title, "content": chapter_text if chapter_text else chapter_title}) return chapters @staticmethod diff --git a/ui/src/views/application-overview/component/LimitDialog.vue b/ui/src/views/application-overview/component/LimitDialog.vue index 8fb3003bc..4def9c668 100644 --- a/ui/src/views/application-overview/component/LimitDialog.vue +++ b/ui/src/views/application-overview/component/LimitDialog.vue @@ -5,7 +5,7 @@ :close-on-click-modal="false" :close-on-press-escape="false" > - +