fix: worker labels not display
This commit is contained in:
@@ -31,6 +31,7 @@ const LabelSelector: React.FC<LabelSelectorProps> = ({
|
|||||||
});
|
});
|
||||||
setLabelList(list);
|
setLabelList(list);
|
||||||
}
|
}
|
||||||
|
console.log('labelsData=========', labelsData);
|
||||||
}, [labels]);
|
}, [labels]);
|
||||||
|
|
||||||
const handleLabelListChange = useCallback(
|
const handleLabelListChange = useCallback(
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
|
|||||||
children
|
children
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}, [scheduleType]);
|
}, [form, intl, gpuOptions, scheduleType, wokerSelector]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Collapse
|
<Collapse
|
||||||
|
|||||||
@@ -77,8 +77,6 @@ const UpdateModal: React.FC<AddModalProps> = (props) => {
|
|||||||
? props.data?.gpu_selector.gpu_name
|
? props.data?.gpu_selector.gpu_name
|
||||||
: null
|
: null
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log('form.setFieldsValue', props.data, form.getFieldsValue());
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user