Skip to content

Commit ed67a7f

Browse files
committed
wip: idp
1 parent e8165a8 commit ed67a7f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pages/IdentityProvider/Create/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
ProForm,
66
ProFormDependency,
77
ProFormSelect,
8+
ProFormSwitch,
89
ProFormText,
910
} from '@ant-design/pro-components';
1011
import { useIntl } from '@umijs/max';
@@ -158,7 +159,9 @@ const CreatePolicy: React.FC = () => {
158159
align="center"
159160
title={intl.formatMessage(INTL.LOGIN_CONFIG)}
160161
titleStyle={{ marginBottom: '14px' }}
161-
></ProForm.Group>
162+
>
163+
<ProFormSwitch label={'是否自动注册'} />
164+
</ProForm.Group>
162165
</ProForm>
163166
</ProCard>
164167
</PageContainer>

0 commit comments

Comments
 (0)