Commit 355bbb96 authored by chenshouchao's avatar chenshouchao

Merge branch 'feat-20221010-partition' into 'release'

cn-feat: 参数设置表单渲染增加cpulist gpulist依赖

See merge request !135
parents 24f8eb91 c9248d76
...@@ -215,7 +215,7 @@ const ParameterSetting = (props: IParameterSettingProps) => { ...@@ -215,7 +215,7 @@ const ParameterSetting = (props: IParameterSettingProps) => {
); );
}; };
// 渲染个表单项 // 渲染个表单项
const renderInput = useCallback( const renderInput = useCallback(
(parameter: IParameter) => { (parameter: IParameter) => {
return ( return (
...@@ -404,7 +404,7 @@ const ParameterSetting = (props: IParameterSettingProps) => { ...@@ -404,7 +404,7 @@ const ParameterSetting = (props: IParameterSettingProps) => {
</MyTooltip> </MyTooltip>
); );
}, },
[handleParameterChange] [handleParameterChange, cpuList, gpuList]
); );
// 输入参数 // 输入参数
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment