mirror of https://gitee.com/topiam/eiam
⚡ 优化代码
parent
a7ead8b1b3
commit
ac0cf38e14
|
@ -40,6 +40,12 @@ export default [
|
|||
hideInMenu: true,
|
||||
component: './user/SessionExpired',
|
||||
},
|
||||
{
|
||||
name: 'account.center',
|
||||
path: '/user/center',
|
||||
hideInMenu: true,
|
||||
component: './user/Center',
|
||||
},
|
||||
/*欢迎页*/
|
||||
{
|
||||
name: 'welcome',
|
||||
|
|
|
@ -19,7 +19,6 @@ import { UploadOutlined } from '@ant-design/icons';
|
|||
import {
|
||||
ProForm,
|
||||
ProFormText,
|
||||
ProFormTextArea,
|
||||
useStyle as useAntdStyle,
|
||||
} from '@ant-design/pro-components';
|
||||
import { App, Avatar, Button, Form, Skeleton, Upload } from 'antd';
|
||||
|
@ -103,10 +102,10 @@ function useStyle() {
|
|||
}
|
||||
export const FORM_ITEM_LAYOUT = {
|
||||
labelCol: {
|
||||
span: 4,
|
||||
span: 5,
|
||||
},
|
||||
wrapperCol: {
|
||||
span: 20,
|
||||
span: 19,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -229,7 +228,7 @@ const BaseView = () => {
|
|||
onFinish={handleFinish}
|
||||
submitter={{
|
||||
render: (p, dom) => {
|
||||
return <Form.Item wrapperCol={{ span: 20, offset: 4 }}>{dom}</Form.Item>;
|
||||
return <Form.Item wrapperCol={{ span: 19 , offset: 5 }}>{dom}</Form.Item>;
|
||||
},
|
||||
searchConfig: {
|
||||
submitText: intl.formatMessage({ id: 'app.save' }),
|
||||
|
|
Loading…
Reference in New Issue