Browse Source

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

sw 1 tuần trước cách đây
mục cha
commit
69e5e5f955
1 tập tin đã thay đổi với 5 bổ sung3 xóa
  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}
     >
       {/** 宠物专用 */}