Remove trailing comma from assign list copy/export format.
Copy and export now output URL,主播: name without a comma at line end. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
91cdcd74b3
commit
d37b06f9af
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user