|
|
@ -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位数字" },]} |
|
|
|