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