diff --git a/src/doctor/apply/add.tsx b/src/doctor/apply/add.tsx index 897bd9b..357c176 100644 --- a/src/doctor/apply/add.tsx +++ b/src/doctor/apply/add.tsx @@ -400,20 +400,8 @@ const AddUserAddress = () => { - {FormData?.type} - - - {userType?.map((item) => ( - { - setFormData({ - ...FormData, - type: item.value - }) - }}> - {item.label} - - ))} - + + @@ -425,20 +413,31 @@ const AddUserAddress = () => { - - - - + - + - - {FormData?.type == 1 && ( + + { + setFormData({ + ...FormData, + type: value + }) + }} + > + {userType?.map((item) => ( + + {item.label} + + ))} + + + {FormData?.type == 0 && (