+
)}
{/* ── 添加用户弹框 ── */}
{showAddUser && (
-
-
+
setShowAddUser(false)} width="w-[500px]">
+
添加用户到 LDAP
@@ -737,13 +738,13 @@ export default function LdapConfigPage() {
-
+
)}
{/* ── 账号测试弹框 ── */}
{showAccountTest && (
-
setShowAccountTest(false)}>
-
e.stopPropagation()}>
+
setShowAccountTest(false)} width="w-[420px]">
+
LDAP 账号验证测试
-
+
)}
);
diff --git a/frontend/src/pages/NotificationPage.tsx b/frontend/src/pages/NotificationPage.tsx
index a2988a7..e836d12 100644
--- a/frontend/src/pages/NotificationPage.tsx
+++ b/frontend/src/pages/NotificationPage.tsx
@@ -2,6 +2,7 @@ import { useState, useEffect, useCallback } from 'react';
import request from '@/api/request';
import { Plus, Trash2, Send, Bell, Mail, Settings, X } from 'lucide-react';
import { ConfirmDialog } from '@/components/ConfirmDialog';
+import { ModalOverlay } from '@/components/ModalOverlay';
/* ── types ── */
type ChannelType = 'dingtalk' | 'webhook_feishu' | 'email';
@@ -362,11 +363,8 @@ export default function NotificationPage() {
{/* ── Create / Edit Modal ── */}
{showModal && (
-
setShowModal(false)}>
-
e.stopPropagation()}
- >
+
setShowModal(false)} width="max-w-2xl">
+
{editingId ? '编辑渠道' : '添加渠道'}
-
+
)}