优化

pull/82/head^2
awenes 2024-04-04 20:32:10 +08:00
parent 95abe5b47d
commit 859a743eb0
1 changed files with 4 additions and 1 deletions

View File

@ -170,7 +170,10 @@ export default (props: {
},
]}
phoneName={FieldNames.PHONE}
addonBefore={<PhoneAreaCodeSelect defaultValue={phoneRegion} onChange={setPhoneRegion} />}
addonWarpStyle={{
flexWrap: 'nowrap',
}}
addonBefore={<PhoneAreaCodeSelect defaultValue={phoneRegion} onChange={setPhoneRegion} />}
onGetCaptcha={async (mobile) => {
if (!(await formRef.current?.validateFields([FieldNames.PASSWORD]))) {
return Promise.reject();