From fc7c5e48c5f003b8c4075ec35d515b9fb7f444ec Mon Sep 17 00:00:00 2001 From: mtvpls Date: Fri, 13 Feb 2026 20:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=8D=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=9C=80=E5=90=8E=E4=B8=80=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/admin/page.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index 8e6a8cd..201a5a7 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -3621,11 +3621,6 @@ const EmbyConfigComponent = ({ // 删除源 const handleDelete = async (source: any) => { - if (sources.length === 1) { - showError('至少需要保留一个Emby源', showAlert); - return; - } - if (!confirm(`确定要删除 "${source.name}" 吗?`)) { return; }