From 1053f2968e88aa909cad4ea8ea0d977ec842e9c4 Mon Sep 17 00:00:00 2001 From: mtvpls Date: Mon, 12 Jan 2026 12:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B6=E9=83=A8=E9=9B=86=E6=95=B0=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/play/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/play/page.tsx b/src/app/play/page.tsx index ff53d67..4f595d3 100644 --- a/src/app/play/page.tsx +++ b/src/app/play/page.tsx @@ -2670,12 +2670,12 @@ function PlayPageClient() { setCurrentEpisodeIndex(0); } - // 规范URL参数(不更新title,避免循环刷新) + // 规范URL参数 const newUrl = new URL(window.location.href); newUrl.searchParams.set('source', detailData.source); newUrl.searchParams.set('id', detailData.id); newUrl.searchParams.set('year', detailData.year); - // 保持原有的 title,不更新 + newUrl.searchParams.set('title', detailData.title); newUrl.searchParams.delete('prefer'); // 只有当元数据不是从文件获取时,才删除fileName参数 if (detailData.metadataSource !== 'file') {