fix: add worker token do not update

This commit is contained in:
jialin
2025-11-20 10:31:27 +08:00
parent 2687fb187d
commit 5d383ec39b
11 changed files with 197 additions and 19 deletions
@@ -79,6 +79,9 @@ const AddWorker: React.FC<AddWorkerProps> = (props) => {
if (open && cluster_id && firstLoad.current) {
handleOnClusterChange(cluster_id);
}
return () => {
firstLoad.current = true;
};
}, [open, cluster_id]);
return (