From 213144c216bb63a3f30561e703cd86e6e45797d5 Mon Sep 17 00:00:00 2001 From: deartibers <947466799@qq.com> Date: Thu, 20 Oct 2022 11:00:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=BB=8F=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/sections/humanAffairs/components/personnelModal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/client/src/sections/humanAffairs/components/personnelModal.jsx b/web/client/src/sections/humanAffairs/components/personnelModal.jsx index 5769d4b..ce085e2 100644 --- a/web/client/src/sections/humanAffairs/components/personnelModal.jsx +++ b/web/client/src/sections/humanAffairs/components/personnelModal.jsx @@ -187,7 +187,7 @@ function pushModal (props) { rules={[{ required: true, message: "请输入人员编号" }]} />
{ let formList = form.current.getValues() - if(formList.userCode){ + if (formList.userCode) { memberSeach(formList.userCode) } }}> @@ -549,7 +549,7 @@ function pushModal (props) { label='工作经验:' maxLength="2" style={{ width: 288 }} - initValue={String(editObj?.experienceYear) || ""} + initValue={editObj?.experienceYear ? String(editObj?.experienceYear) : ""} placeholder="请输入工作经验,不超过2位数字" showClear rules={[{ pattern: "^[0-9]*[1-9][0-9]*$", message: "请输入工作经验,不超过2位数字" },]}