修复中继加密独立配置并保留启停和自定义端口

This commit is contained in:
xuans committed 2026-10-06 03:27:40 +08:00
1 parent 78b210f079
commit 232b00eb04
7 files changed
+84 -38

No files matched your search

@@ -33,6 +33,7 @@
<dl class="relay-summary">
<div><dt>SMTP 服务器</dt><dd>{{ relay.relayHost || '未填写' }}</dd></div>
<div><dt>端口</dt><dd>{{ relay.relayPort || '未填写' }}</dd></div>
<div><dt>中继加密方式</dt><dd>{{ relay.security === 'starttls' ? 'STARTTLS' : relay.security === 'implicit_tls' ? '隐式 TLS' : '未选择' }}</dd></div>
<div><dt>认证账号</dt><dd>{{ relay.username || '未填写' }}</dd></div>
<div><dt>发件邮箱</dt><dd>{{ relay.from || '未填写' }}</dd></div>
<div><dt>密码</dt><dd>{{ passwordConfigured ? '已配置(不显示明文)' : '未配置' }}</dd></div>
@@ -104,4 +105,4 @@ const clearRelay = async () => {
}
</script>
<style scoped src="./RelayConfig.css"></style>
<style scoped src="./RelayConfig.css"></style>