6.27 修改

This commit is contained in:
jl-zhoujl2
2022-06-27 15:22:15 +08:00
parent f17ebf9c5d
commit 39fc4276ec
9 changed files with 118 additions and 62 deletions

View File

@ -88,7 +88,7 @@ const PersonInfor: React.FC<{}> = () => {
<span className="text"><span></span></span>
<div className="search-box">
<Search
placeholder="输入姓名/邮箱/电话"
placeholder="输入标题"
allowClear
enterButton="搜索"
style={{ width: 322 }}
@ -99,10 +99,9 @@ const PersonInfor: React.FC<{}> = () => {
<List
itemLayout="horizontal"
pagination={{
onChange: page => {
console.log(page);
},
pageSize: 2,
size: 'small',
showTotal: (total) => `${total}`,
pageSize: 10,
}}
dataSource={projectList}
renderItem={item => (
@ -115,7 +114,6 @@ const PersonInfor: React.FC<{}> = () => {
)}
/>
</div>
<Pagination size="small" total={50} showSizeChanger showQuickJumper />
</div>
)
}