Skip to content

Commit 29a7755

Browse files
committed
feat: 优化样式,idp 添加更新备注字段
1 parent 12689e3 commit 29a7755

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/pages/Application/locales/zh-CN.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default {
22
'app.page.content':
33
'创建您的应用程序,使用 IAM 提供身份认证,支持密码、社会化身份源等多种认证方式。',
4-
'app.table.title': '认证源列表',
4+
'app.table.title': '应用列表',
55
'app.table.content': '',
66
'app.table.displayName': '显示名称',
77
'app.table.logo': '图标',

src/pages/IdentityProvider/Create/index.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
ProFormSelect,
88
ProFormSwitch,
99
ProFormText,
10+
ProFormTextArea,
1011
} from '@ant-design/pro-components';
1112
import { useIntl } from '@umijs/max';
1213
import { BASIC_INTL } from '@/constant';
@@ -155,6 +156,15 @@ const CreatePolicy: React.FC = () => {
155156
return null;
156157
}}
157158
</ProFormDependency>
159+
<ProForm.Group align="center">
160+
<ProFormTextArea
161+
width="lg"
162+
name="description"
163+
fieldProps={{ autoComplete: 'off' }}
164+
label={intl.formatMessage(INTL.DESCRIPTION)}
165+
placeholder={intl.formatMessage(INTL.DESCRIPTION_PLACEHOLDER)}
166+
/>
167+
</ProForm.Group>
158168
<ProForm.Group
159169
align="center"
160170
title={intl.formatMessage(INTL.LOGIN_CONFIG)}

0 commit comments

Comments
 (0)