diff --git a/web/client/src/sections/humanAffairs/components/personnelModal.jsx b/web/client/src/sections/humanAffairs/components/personnelModal.jsx index 485e7b7..59d311f 100644 --- a/web/client/src/sections/humanAffairs/components/personnelModal.jsx +++ b/web/client/src/sections/humanAffairs/components/personnelModal.jsx @@ -187,7 +187,9 @@ function pushModal (props) { rules={[{ required: true, message: "请输入人员编号" }]} />
{ let formList = form.current.getValues() - memberSeach(formList.userCode) + if(formList.userCode){ + memberSeach(formList.userCode) + } }}> 搜索