From 5d677b4f170562ee432554ecd8c56efa9bf7bd29 Mon Sep 17 00:00:00 2001 From: Edric Li Date: Tue, 9 Sep 2025 04:09:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96UI=E6=96=87=E6=A1=88?= =?UTF-8?q?=E5=92=8C=E4=BF=AE=E5=A4=8DSMTP=E6=B5=8B=E8=AF=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复SMTP平台测试按钮传递必要字段 - 添加"测试通知"类型的友好显示文本和描述 - 简化标题:"启用 Webhook 通知" → "启用通知" --- web/admin-spa/src/views/SettingsView.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/admin-spa/src/views/SettingsView.vue b/web/admin-spa/src/views/SettingsView.vue index e8a57c99..4c6355c5 100644 --- a/web/admin-spa/src/views/SettingsView.vue +++ b/web/admin-spa/src/views/SettingsView.vue @@ -377,9 +377,7 @@ >
-

- 启用 Webhook 通知 -

+

启用通知

开启后,系统将按配置发送通知到指定平台

@@ -1679,7 +1677,8 @@ const getNotificationTypeName = (type) => { accountAnomaly: '账号异常', quotaWarning: '配额警告', systemError: '系统错误', - securityAlert: '安全警报' + securityAlert: '安全警报', + test: '测试通知' } return names[type] || type } @@ -1689,7 +1688,8 @@ const getNotificationTypeDescription = (type) => { accountAnomaly: '账号状态异常、认证失败等', quotaWarning: 'API调用配额不足警告', systemError: '系统运行错误和故障', - securityAlert: '安全相关的警报通知' + securityAlert: '安全相关的警报通知', + test: '用于测试Webhook连接是否正常' } return descriptions[type] || '' }