From 2954222082803f321de19abcf0be3a790efbe4be Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 18 Oct 2024 15:50:29 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/handle/impl/pdf_split_handle.py | 2 +- .../component/LimitDialog.vue | 58 ++++++++++++------- 2 files changed, 37 insertions(+), 23 deletions(-) diff --git a/apps/common/handle/impl/pdf_split_handle.py b/apps/common/handle/impl/pdf_split_handle.py index 99e238783e0..d5eb779c346 100644 --- a/apps/common/handle/impl/pdf_split_handle.py +++ b/apps/common/handle/impl/pdf_split_handle.py @@ -157,7 +157,7 @@ def handle_toc(doc): 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 8fb3003bc4c..4def9c66873 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" > - +