diff --git a/src/layouts/BasicLayout.less b/src/layouts/BasicLayout.less index 5aa45bc302366326812bc22ba8702b3c45958e84..91ad7d997bf4f8634e83acc3c157409c7af3cd7a 100644 --- a/src/layouts/BasicLayout.less +++ b/src/layouts/BasicLayout.less @@ -11,7 +11,7 @@ height: 64px; position: relative; line-height: 64px; - padding-left: 32px; + padding-left: 24px; transition: all .3s; background: #002140; overflow: hidden; diff --git a/src/routes/List/TableList.js b/src/routes/List/TableList.js index 844d0bebbf74ec094fea7d852c7365d2b35889d8..0ca42b2400f65759c8293fed3d5e416a1181748e 100644 --- a/src/routes/List/TableList.js +++ b/src/routes/List/TableList.js @@ -1,6 +1,6 @@ import React, { PureComponent } from 'react'; import { connect } from 'dva'; -import { Card, Row, Col, Form, Input, Select, Icon, Button, Dropdown, Menu, InputNumber, DatePicker, Modal, message } from 'antd'; +import { Card, Form, Input, Select, Icon, Button, Dropdown, Menu, InputNumber, DatePicker, Modal, message } from 'antd'; import StandardTable from '../../components/StandardTable'; import PageHeaderLayout from '../../layouts/PageHeaderLayout'; @@ -156,11 +156,6 @@ export default class TableList extends PureComponent { const { rule: { loading: ruleLoading, data }, form: { getFieldDecorator } } = this.props; const { selectedRows, modalVisible, addInputValue } = this.state; - const formItemLayout = { - labelCol: { xs: 5, sm: 8, lg: 6, xl: 6 }, - wrapperCol: { xs: 18, sm: 16, lg: 17, xl: 17 }, - }; - const menu = (