style: deploy modal message cover the content
This commit is contained in:
@@ -44,7 +44,7 @@ const CustomBackend: React.FC = () => {
|
||||
<SealTextArea
|
||||
allowClear
|
||||
required
|
||||
scaleSize={true}
|
||||
scaleSize={false}
|
||||
alwaysFocus={true}
|
||||
autoSize={{ minRows: 2, maxRows: 4 }}
|
||||
label={intl.formatMessage({ id: 'backend.runCommand' })}
|
||||
@@ -53,7 +53,10 @@ const CustomBackend: React.FC = () => {
|
||||
})}
|
||||
placeholder={intl.formatMessage(
|
||||
{ id: 'common.help.eg' },
|
||||
{ content: 'vllm serve {{model_path}} --port {{port}}' }
|
||||
{
|
||||
content:
|
||||
'vllm serve {{model_path}} --port {{port}} --served-model-name {{model_name}}'
|
||||
}
|
||||
)}
|
||||
></SealTextArea>
|
||||
</Form.Item>
|
||||
|
||||
@@ -103,12 +103,9 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
|
||||
onClusterChange,
|
||||
onOk
|
||||
} = props;
|
||||
const {
|
||||
getScrollElementScrollableHeight,
|
||||
getScrollElement,
|
||||
osInstance,
|
||||
scrollEventElement
|
||||
} = useWrapperContext();
|
||||
const { getScrollElementScrollableHeight, osInstance, scrollEventElement } =
|
||||
useWrapperContext();
|
||||
console.log('data form render');
|
||||
const { backendOptions, getBackendOptions } = useQueryBackends();
|
||||
const { getGPUOptionList, gpuOptions, workerLabelOptions } =
|
||||
useGenerateGPUOptions();
|
||||
@@ -171,7 +168,6 @@ const DataForm: React.FC<DataFormProps> = forwardRef((props, ref) => {
|
||||
setActiveKey,
|
||||
segmentOptions,
|
||||
segmentedTop: segmentedTop,
|
||||
getScrollElement,
|
||||
getScrollElementScrollableHeight: getScrollElementScrollableHeight
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user