- {detail.is_read ? '已读' : '未读'}
+
+ {STATUS_LABELS[detail.status] || detail.status}
{detail.title}
@@ -180,31 +180,18 @@ export default function MailPanel() {
{/* 操作 */}
- {!detail.is_read && (
-
- )}
- {detail.status !== 'done' && (
+ {detail.status === 'failed' && (
+ border: '1px solid #f59e0b', background: '#f59e0b22', color: '#f59e0b', cursor: 'pointer',
+ }}>🔄 重试
)}
>