yangjie #36
|
|
@ -703,7 +703,7 @@ const User: React.FC = () => {
|
||||||
</Modal>
|
</Modal>
|
||||||
<Modal title='签到绑定' open={signInUserModal} destroyOnClose={true} onCancel={() => setSignInUserModal(false)} footer={null} centered width={'300px'}>
|
<Modal title='签到绑定' open={signInUserModal} destroyOnClose={true} onCancel={() => setSignInUserModal(false)} footer={null} centered width={'300px'}>
|
||||||
<div className={styles.signInUserModal}>
|
<div className={styles.signInUserModal}>
|
||||||
<div>
|
<div id='signInView'>
|
||||||
{signInUserForm.currentUserList.map((item: any, index: number) => {
|
{signInUserForm.currentUserList.map((item: any, index: number) => {
|
||||||
return (
|
return (
|
||||||
<div style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }} key={index}>
|
<div style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }} key={index}>
|
||||||
|
|
@ -742,6 +742,12 @@ const User: React.FC = () => {
|
||||||
...signInUserForm,
|
...signInUserForm,
|
||||||
currentUserList: currentUserListTemp,
|
currentUserList: currentUserListTemp,
|
||||||
})
|
})
|
||||||
|
setTimeout(() => {
|
||||||
|
const signInView = document.getElementById('signInView') as HTMLElement;
|
||||||
|
if (signInView) {
|
||||||
|
signInView.scrollTop = signInView.scrollHeight;
|
||||||
|
}
|
||||||
|
}, 0);
|
||||||
}}
|
}}
|
||||||
style={{ width: '100%', marginBottom: '20px' }}
|
style={{ width: '100%', marginBottom: '20px' }}
|
||||||
icon={<img src={ImageUrl.icon8} alt="" />}
|
icon={<img src={ImageUrl.icon8} alt="" />}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue