Commit e76d86bc authored by 李晓静's avatar 李晓静

代码优化

parent b9af6242
...@@ -126,7 +126,9 @@ class FormWrap extends Component { ...@@ -126,7 +126,9 @@ class FormWrap extends Component {
if (_.isEqual(temp, newVal)) { if (_.isEqual(temp, newVal)) {
return; return;
} }
onBlurFn(changedValue) if (typeof onBlurFn === 'function') {
onBlurFn(changedValue)
}
} }
return ( return (
<FormItem key={columnName} label={this.renderLabel(item)}> <FormItem key={columnName} label={this.renderLabel(item)}>
......
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