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

代码优化

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