Commit 18f321d0 authored by 李晓静's avatar 李晓静

代码优化

parent 24f3b8df
......@@ -123,12 +123,12 @@ class FormWrap extends Component {
if (temp.length === 0) {
temp = emptyModel;
}
if (!!item.requiredFlag && Array.isArray(newVal) && !newVal[0].value) {
return
}
if (_.isEqual(temp, newVal)) {
return;
}
if (!!item.requiredFlag && !newVal[0].value) {
return
}
if (typeof onBlurFn === 'function') {
onBlurFn(changedValue)
}
......
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