chore: init worker selector

This commit is contained in:
jialin
2025-03-25 17:58:01 +08:00
parent f882fe2c32
commit 8f6c1d0e47
7 changed files with 25 additions and 18 deletions
@@ -292,7 +292,6 @@ const AddModal: FC<AddModalProps> = (props) => {
deploymentType === 'modelList' && (
<TitleWrapper>
{intl.formatMessage({ id: 'models.form.configurations' })}
<span style={{ display: 'flex', height: 24 }}></span>
</TitleWrapper>
)}
<DataForm
+2 -4
View File
@@ -259,8 +259,7 @@ const Models: React.FC<ModelsProps> = ({
);
await updateModel({
data: {
...result.values,
..._.omit(data, result.omits)
...result.values
},
id: currentData.current?.id as number
});
@@ -296,8 +295,7 @@ const Models: React.FC<ModelsProps> = ({
const modelData = await createModel({
data: {
...result.values,
..._.omit(data, result.omits)
...result.values
}
});
setOpenDeployModal({
@@ -2,7 +2,11 @@ import React from 'react';
import '../style/title-wrapper.less';
const TitleWrapper: React.FC<any> = ({ children }) => {
return <h3 className="h3">{children}</h3>;
return (
<h3 className="h3" style={{ height: 50 }}>
{children}
</h3>
);
};
export default TitleWrapper;