Commit c9248d76 authored by chenshouchao's avatar chenshouchao

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

parent fb4b38d9
...@@ -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