auto-sync: 2026-05-18 13:06:30
This commit is contained in:
@@ -193,6 +193,7 @@ export default function MailPanel() {
|
||||
border: '1px solid var(--acc)', background: 'var(--acc)22', color: 'var(--acc)', cursor: 'pointer',
|
||||
}}>✓ 标记已读</button>
|
||||
)}
|
||||
{detail.status !== 'done' && (
|
||||
<button onClick={async () => {
|
||||
await fetch(`/api/mail/${detail.id}`, {
|
||||
method: 'PATCH', headers: { 'Content-Type': 'application/json' },
|
||||
@@ -204,6 +205,7 @@ export default function MailPanel() {
|
||||
padding: '6px 14px', borderRadius: 6, fontSize: 11,
|
||||
border: '1px solid #2ecc8a', background: '#2ecc8a22', color: '#2ecc8a', cursor: 'pointer',
|
||||
}}>✅ 标记已执行</button>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user