{ElementInfoList?.map((it) => {
function removeFirstAndLastChar(str) {
return str.substring(1, str.length - 1);
}
return (
{it?.Name}
{it?.PointList?.map((its) => (
"),
}}
>
}
>
{
setDrawer((s) => ({
...s,
position: its.Position,
open: true,
}));
}}
style={{ cursor: "pointer" }}
>
{its.Name}
))}
);
})}
);
},
}}
>