Skip to content

Commit

Permalink
table
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiidea committed Dec 30, 2016
1 parent 960ab30 commit 49d700a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Empty file added npm-debug.log.884992468
Empty file.
3 changes: 3 additions & 0 deletions src/components/skin.less
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@
overflow: auto;
}
}
.ant-pagination-item{
margin-bottom: 8px;
}
}
4 changes: 3 additions & 1 deletion src/components/users/list.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,16 @@ function list({

return (
<div>
<Table size="small"
<Table
className={styles.table}
bordered
scroll={{ x: 1200 }}
columns={columns}
dataSource={dataSource}
loading={loading}
onChange={onPageChange}
pagination={pagination}
simple
rowKey={record => record.id}
/>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/models/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export default {
showTotal: total => `共 ${total} 条`,
current:1,
total:null,
size:'default'
}
},

Expand Down

0 comments on commit 49d700a

Please sign in to comment.