Browse Source

问题修改

master
deartibers 2 years ago
parent
commit
a722262e4e
  1. 4
      web/client/src/sections/humanAffairs/components/personnelModal.jsx

4
web/client/src/sections/humanAffairs/components/personnelModal.jsx

@ -93,7 +93,7 @@ function pushModal (props) {
form.current
.validate()
.then((values) => {
if (peoplePro.userCode) {
if (peoplePro?.userCode) {
if (values.userCode == peoplePro.userCode) {
let obj = values
if (values.nativePlace) {
@ -549,7 +549,7 @@ function pushModal (props) {
label='工作经验:'
maxLength="2"
style={{ width: 288 }}
initValue={editObj?.experienceYear || ""}
initValue={String(editObj?.experienceYear) || ""}
placeholder="请输入工作经验,不超过2位数字"
showClear
rules={[{ pattern: "^[0-9]*[1-9][0-9]*$", message: "请输入工作经验,不超过2位数字" },]}

Loading…
Cancel
Save