소스 검색

fix: 移除出生日期默认值以修复年龄字段显示单位问题 in src/pages/patient/components/register.form.tsx

sw 1 주 전
부모
커밋
69e5e5f955
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 5 3
      src/pages/patient/components/register.form.tsx

+ 5 - 3
src/pages/patient/components/register.form.tsx

@@ -166,9 +166,11 @@ const BasicInfoForm: React.FC<BasicInfoFormProps> = ({
       layout="vertical"
       style={style}
       className="px-2"
-      initialValues={{
-        patient_dob: dayjs(),
-      }}
+      initialValues={
+        {
+          // patient_dob: dayjs(),
+        }
+      }
       onValuesChange={onValuesChange}
     >
       {/** 宠物专用 */}