|
|
|
@ -224,17 +224,15 @@ function Management() {
|
|
|
|
|
}}
|
|
|
|
|
title={t('account:detail')}
|
|
|
|
|
open={isAccountModalOpen} onOk={() => setAccountModalOpen(false)} onCancel={() => setAccountModalOpen(false)}
|
|
|
|
|
destroyOnClose={true}
|
|
|
|
|
clearOnDestroy={true}
|
|
|
|
|
destroyOnClose
|
|
|
|
|
forceRender
|
|
|
|
|
modalRender={(dom) => (
|
|
|
|
|
<Form
|
|
|
|
|
name='AccountForm'
|
|
|
|
|
form={accountForm}
|
|
|
|
|
layout='vertical'
|
|
|
|
|
size='large'
|
|
|
|
|
style={{
|
|
|
|
|
maxWidth: 600,
|
|
|
|
|
}}
|
|
|
|
|
className='max-w-2xl'
|
|
|
|
|
onFinish={onAccountFinish}
|
|
|
|
|
onFinishFailed={onAccountFailed}
|
|
|
|
|
autoComplete='off'
|
|
|
|
@ -322,7 +320,7 @@ function Management() {
|
|
|
|
|
</Select>
|
|
|
|
|
</Form.Item>
|
|
|
|
|
</Modal>
|
|
|
|
|
<Space direction='vertical' style={{ width: '100%' }}>
|
|
|
|
|
<Space direction='vertical' className='w-full'>
|
|
|
|
|
<Title level={3}>{t('account:accountList')}</Title>
|
|
|
|
|
<SearchForm
|
|
|
|
|
fieldsConfig={{
|
|
|
|
@ -331,7 +329,7 @@ function Management() {
|
|
|
|
|
username: { label: t('account:username') },
|
|
|
|
|
realname: { label: t('account:realname') },
|
|
|
|
|
},
|
|
|
|
|
sort: { username: 1, realname: 2, dates: 3},
|
|
|
|
|
sort: { username: 1, realname: 2},
|
|
|
|
|
}}
|
|
|
|
|
onSubmit={() => {
|
|
|
|
|
handelAccountSearch()
|
|
|
|
|