mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 12:56:13 +00:00
feat: field extensions for login/register forms
This commit is contained in:
parent
859e1e0a04
commit
964b5f70ba
@ -77,6 +77,7 @@ export function Login(props: any) {
|
|||||||
help: <Link to={'/lostpassword'}>忘记密码?</Link>
|
help: <Link to={'/lostpassword'}>忘记密码?</Link>
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
...(props.fields||{}),
|
||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
<FormButtonGroup>
|
<FormButtonGroup>
|
||||||
|
@ -122,6 +122,7 @@ export function Register(props: any) {
|
|||||||
placeholder: '确认密码',
|
placeholder: '确认密码',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
...(props.fields||{}),
|
||||||
}
|
}
|
||||||
}}>
|
}}>
|
||||||
<FormButtonGroup align={'start'}>
|
<FormButtonGroup align={'start'}>
|
||||||
|
Loading…
Reference in New Issue
Block a user