adjust request

This commit is contained in:
zuiidea
2017-03-27 14:41:01 +08:00
parent f595f04a53
commit 47c1fdcaff
7 changed files with 35 additions and 15 deletions
+2 -2
View File
@@ -59,8 +59,8 @@ class DataTable extends React.Component {
const { fetch: { url, data, dataKey } } = this.props
const { fetchData } = this.state
this.setState({ loading: true })
request(url, {
result: 10,
this.promise = request({
url,
data: {
...data,
...fetchData,
+4
View File
@@ -88,6 +88,10 @@ body {
.ant-select-dropdown-menu-item {
padding: 12px 16px !important;
}
.margin-right {
margin-right: 16px;
}
}
@media (min-width: 1600px) {
.ant-col-xl-48 {