({
label: (
详情{index + 1}
{
e.stopPropagation();
if (current === item.id) {
setCurrent("history");
}
onRemove(index);
}}
/>
),
children: null,
key: item.id,
})),
]}
/>
{/* setCurrent(e.target.value)}
size="middle"
>
告警记录
{tags.map((item, index) => (
详情{index + 1}
{
if (current === item.id) {
setCurrent("history");
}
onRemove(index);
}}
/>
))}
*/}
{current !== "history" && (
)}
{current === "history" && (