Explorar o código

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

sw hai 1 semana
pai
achega
69e5e5f955
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  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}
     >
       {/** 宠物专用 */}