From d37b06f9af2fa49d1104fe719e4c71a451bf02cb Mon Sep 17 00:00:00 2001 From: eric Date: Sat, 22 Aug 2026 03:16:36 -0500 Subject: [PATCH] Remove trailing comma from assign list copy/export format. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copy and export now output URL,主播: name without a comma at line end. Co-authored-by: Cursor --- frontend/src/components/YtAssignPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/YtAssignPanel.tsx b/frontend/src/components/YtAssignPanel.tsx index 9798f1b..9654eac 100644 --- a/frontend/src/components/YtAssignPanel.tsx +++ b/frontend/src/components/YtAssignPanel.tsx @@ -107,7 +107,7 @@ function formatExportLine(url: string, title?: string): string { const u = String(url || "").trim(); const t = String(title || "").trim(); if (!u) return ""; - return t ? `${u},主播: ${t},` : `${u},`; + return t ? `${u},主播: ${t}` : u; } function exportText(rows: Array<{ url?: string; title?: string }>): string {