mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
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:
commit
5cf59c03f7
@ -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) => {
|
||||
|
||||
@ -142,6 +142,10 @@ class SettingFieldView extends Component<{ field: SettingField }> {
|
||||
});
|
||||
field.setValue(value);
|
||||
},
|
||||
|
||||
removeProp:()=>{
|
||||
field.parent.clearPropValue(field.name);
|
||||
}
|
||||
}),
|
||||
extraProps.forceInline ? 'plain' : extraProps.display,
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user