|
|
@@ -27,7 +27,7 @@ const registerInfoSchema: Record<
|
|
|
patient_sex: z.string().optional(),
|
|
|
|
|
|
ref_physician: z.string().optional(),
|
|
|
- operator_id: z.string().regex(/^[a-zA-Z0-9_-]*$/, '只能输入数字、英文字符、下划线和连字符'),
|
|
|
+ operator_id: z.string().regex(/^[a-zA-Z0-9_-]*$/, '只能输入数字、英文字符、下划线和连字符').optional(),
|
|
|
weight: z.number().optional(),
|
|
|
thickness: z.number().optional(),
|
|
|
length: z.number().optional(),
|