完善IMAP标志位和邮件消息标识
Security Checks / security (push) Waiting to run

This commit is contained in:
xuans committed 2026-08-31 09:32:46 +08:00
1 parent b396afa90c
commit fc027636c2
5 files changed
+437 -46

No files matched your search

@@ -82,11 +82,6 @@ export function usePage() {
const protocolLabel = protocol => ({ imap: 'IMAP', pop3: 'POP3', smtp: 'SMTP' }[protocol] || protocol.toUpperCase())
const loadProtocolCredentials = async () => {
const res = await http.get('/api/v1/security/credentials/protocols')
if (res.errorNo !== 0) throw new Error(res.errorMsg || '读取第三方协议设置失败')
protocolCredentials.value = Array.isArray(res.data) ? res.data : []
}
const setProtocolEnabled = async (item, enabled) => {
const previous = item.enabled