attacker
76a41f5eeb
refactor: AlertCenter拆分(723→390行)+修复TopologyView类型错误
- AlertCenter.tsx: 723→390行,提取类型/helpers/渠道Tab到子组件
- alert-center-helpers.tsx: 新建(127行),共享Alert/AlertRule/NotificationChannel类型+mapAlert+badge helpers
- AlertChannelDialog.tsx: 新建(121行),通知渠道创建/编辑对话框(自包含useEffect同步)
- AlertChannelsTab.tsx: 新建(152行),通知渠道Tab自包含(状态+API+渲染+CRUD)
- AlertCenterDetail.tsx: 去重getSeverityBadge,统一从helpers导入
- TopologyView.tsx: 修复editForm.type类型推断(string→TopologyNode['type'])
2026-06-15 13:07:01 +08:00
..
2026-06-15 01:09:49 +08:00
2026-06-15 01:09:49 +08:00
2026-06-15 03:35:30 +08:00
2026-06-15 03:35:30 +08:00
2026-06-15 03:35:30 +08:00
2026-06-15 13:01:56 +08:00
2026-06-15 13:07:01 +08:00