Merge branch 'release/1.0.0' of gitlab.alibaba-inc.com:ali-lowcode/ali-lowcode-engine into release/1.0.0

This commit is contained in:
peipei.xpp 2020-08-19 14:52:18 +08:00
commit 5cf59c03f7
2 changed files with 6 additions and 2 deletions

View File

@ -55,8 +55,8 @@ export default class FunctionSetter extends PureComponent<FunctionSetterProps, {
}
removeFunctionBind = () => {
const { field ,onChange} = this.props;
field.parent.clearPropValue(field.name);
const { field ,removeProp} = this.props;
removeProp();
}
parseFunctionName = (functionString: String) => {

View File

@ -142,6 +142,10 @@ class SettingFieldView extends Component<{ field: SettingField }> {
});
field.setValue(value);
},
removeProp:()=>{
field.parent.clearPropValue(field.name);
}
}),
extraProps.forceInline ? 'plain' : extraProps.display,
);