From edc11aaa929f72b882e525312781076c22c783ef Mon Sep 17 00:00:00 2001 From: x1ao4 Date: Sat, 10 Jan 2026 16:03:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B5=84=E6=BA=90=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=BB=93=E6=9E=9C=E4=B8=AD=E8=B5=84=E6=BA=90=20ID=20?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=86=97=E4=BD=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复了资源搜索结果显示资源 ID 时,URL 中包含 # 片段标识符(如 #/list/share)也会被显示的问题 - 在移除 URL 前缀后,增加 .split('#')[0] 来移除 # 及其后面的所有内容 - 修改了任务列表和创建任务两个位置的资源 ID 显示逻辑 - 确保资源 ID 只显示纯 ID 部分,例如:2c9b2e6a53ef 而不是 2c9b2e6a53ef#/list/share --- app/templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/index.html b/app/templates/index.html index 218c063..fd9053d 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1260,7 +1260,7 @@ @@ -2793,7 +2793,7 @@