⬆️ 优化

pull/30/head
smallbun 2023-08-16 21:14:13 +08:00
parent c27c60d047
commit b57d178aa9
4 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ const QqOauthConfig = (props: { isCreate: boolean }) => {
<>
<ProFormText
name={['config', 'clientId']}
label="Cilent ID"
label="CilentId"
rules={[{ required: true }]}
fieldProps={{ autoComplete: 'off' }}
placeholder={intl.formatMessage({
@ -45,7 +45,7 @@ const QqOauthConfig = (props: { isCreate: boolean }) => {
<ProFormText.Password
rules={[{ required: true }]}
name={['config', 'clientSecret']}
label="Client Secret"
label="ClientSecret"
placeholder={intl.formatMessage({
id: 'pages.authn.identity_provider.config.github_oauth.client_secret.placeholder',
})}

View File

@ -67,7 +67,7 @@ export default (props: CreateDrawerProps) => {
title={intl.formatMessage({
id: 'pages.authn.identity_provider.create_modal_title',
})}
width={600}
width={580}
modalProps={{
forceRender: true,
onCancel: () => {

View File

@ -59,7 +59,7 @@ export default (props: CreateDrawerProps) => {
title={intl.formatMessage({
id: 'pages.authn.identity_provider.update_modal_title',
})}
width={600}
width={580}
layout={'horizontal'}
{...DRAWER_FORM_ITEM_LAYOUT}
modalProps={{

View File

@ -55,9 +55,9 @@ export const EXIST_CALLBACK = [
export const DRAWER_FORM_ITEM_LAYOUT = {
labelCol: {
span: 4,
span: 5,
},
wrapperCol: {
span: 19,
span: 18,
},
};