浏览代码

update

tags/Baseline_30082024_FRONTEND_UAT
MSI\derek 1年前
父节点
当前提交
98bdb1eafb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/components/EditStaff/StaffInfo.tsx

+ 2
- 2
src/components/EditStaff/StaffInfo.tsx 查看文件

@@ -417,7 +417,7 @@ const StaffInfo: React.FC<Props> = ({ combos }) => {
}}
slotProps={{
textField: {
required: true,
// required: true,
error:
joinDate === "Invalid Date" || Boolean(errors.joinDate),
// value: errors.joinDate?.message,
@@ -466,7 +466,7 @@ const StaffInfo: React.FC<Props> = ({ combos }) => {
}}
slotProps={{
textField: {
error: departDate
error: joinDate && departDate
? new Date(joinDate) > new Date(departDate)
: false,
},


正在加载...
取消
保存