feat(admin): 渠道徽章显示渠道词——付费广告/AI引用等一目了然

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-17 15:08:47 +08:00
parent 35f7b55946
commit 62aee34827
+1 -1
View File
@@ -69,7 +69,7 @@ export function channelBadge(row: ChannelBadgeRow): string {
if (!row.channel) return '—'
const meta = CHANNEL_LABELS[row.channel] ?? CHANNEL_LABELS.unknown
const platform = [row.platform, row.variant].filter(Boolean).join('·')
let text = `${meta.icon} ${platform || meta.label}`
let text = `${meta.icon} ${meta.label}${platform ? `·${platform}` : ''}`
if (row.search_term) text += `「${row.search_term}」`
if (row.resolution === 'label_only') text += '(标签)'
else if (row.resolution === 'conflict') text += '(冲突)'