From 4dda80aa4cd508a1dc2c410dea3614c7dce85bf9 Mon Sep 17 00:00:00 2001 From: xiaji Date: Sun, 9 Nov 2025 20:33:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=8F=B3=E9=94=AE?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E4=BF=A1=E6=81=AF=E7=9A=84=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E9=87=8D=E6=8B=8D=E4=BA=86=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db_viewer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db_viewer.py b/db_viewer.py index c27340f..50ad8c0 100644 --- a/db_viewer.py +++ b/db_viewer.py @@ -434,8 +434,8 @@ class DatabaseViewer(QMainWindow): url = url_item.text() if url_item else "" date = date_item.text() if date_item else "" - # 用空格组合信息 - info = f"{title} {url} {date}".strip() + # 按照要求的格式组合信息:"日期 标题\n链接" + info = f"{date} {title}\n{url}".strip() all_info.append(info) # 将所有信息用换行符连接