Commit 24f3b8df authored by 李晓静's avatar 李晓静

判空

parent e76d86bc
...@@ -126,6 +126,9 @@ class FormWrap extends Component { ...@@ -126,6 +126,9 @@ class FormWrap extends Component {
if (_.isEqual(temp, newVal)) { if (_.isEqual(temp, newVal)) {
return; return;
} }
if (!!item.requiredFlag && !newVal[0].value) {
return
}
if (typeof onBlurFn === 'function') { if (typeof onBlurFn === 'function') {
onBlurFn(changedValue) 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