style: cluster creation modal

This commit is contained in:
jialin
2026-01-06 17:21:32 +08:00
parent 0f7a475ec9
commit d51f00d35d
18 changed files with 224 additions and 98 deletions
@@ -291,6 +291,14 @@ const Clusters: React.FC = () => {
}
}, [clusterSession, dataSource.loadend, dataSource.dataList]);
useEffect(() => {
if (clusterSession?.firstAddCluster && dataSource.loadend) {
openClusterModal();
// reset session
setClusterSession(null);
}
}, [clusterSession, dataSource.loadend]);
const renderChildren = (
list: any,
options: { parent?: any; [key: string]: any }