Skip to content

Commit

Permalink
fix: Optimization model service
Browse files Browse the repository at this point in the history
  • Loading branch information
promise2024 committed Mar 25, 2024
1 parent 6ab95e0 commit 078778d
Show file tree
Hide file tree
Showing 2 changed files with 316 additions and 318 deletions.
25 changes: 10 additions & 15 deletions src/pages/CreateModelService/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1091,22 +1091,11 @@ class CreateModelService$$Page extends React.Component {
<Row __component_name="Row" gutter={[0, 0]} wrap={true}>
<Col __component_name="Col" span={24}>
<Row __component_name="Row" gutter={[0, 0]} wrap={false}>
<Col __component_name="Col" flex="" span={2}>
<Typography.Text
__component_name="Typography.Text"
disabled={false}
ellipsis={true}
strong={false}
style={{ fontSize: '12px' }}
>
指定 GPU
</Typography.Text>
</Col>
<Col
__component_name="Col"
flex="auto"
span={12}
style={{ marginBottom: '-4px' }}
span={14}
style={{ marginBottom: '-4px', marginLeft: '-10px' }}
>
<FormilyInput
__component_name="FormilyInput"
Expand All @@ -1118,11 +1107,17 @@ class CreateModelService$$Page extends React.Component {
},
}}
decoratorProps={{
'x-decorator-props': { colon: false, labelEllipsis: true },
'x-decorator-props': {
colon: false,
labelAlign: 'left',
labelCol: 4,
labelEllipsis: true,
wrapperAlign: 'left',
},
}}
fieldProps={{
'name': 'CUDA_VISIBLE_DEVICES',
'title': '',
'title': '指定 GPU',
'x-validator': [
{
children: '未知',
Expand Down
Loading

0 comments on commit 078778d

Please sign in to comment.