diff --git a/packages/dashboard/src/components/Configs.js b/packages/dashboard/src/components/Configs.js index 2d76ed0..ac692c1 100644 --- a/packages/dashboard/src/components/Configs.js +++ b/packages/dashboard/src/components/Configs.js @@ -12,13 +12,13 @@ const parameterFormItem = ( childLevel, layoutParameters, onChangeLayoutParams, - updateLayoutParameters + updateLayoutParameters, + fatherParam,//新增,存储的有两类:①该项父module的构造函数new出来的对象;②null ) => { - if (params.type === "switch") { - //console.log('key:', key, 'layoutParameters:', layoutParameters) + if (params.type === "BOOL") { return (