forked from Gitlink/forgeplus-react
This commit is contained in:
parent
8a1feed72b
commit
31edf6ff45
|
@ -15,8 +15,8 @@ const MENU_LIST = [
|
||||||
function CollaboratorMember({projectsId,owner,project_id,author,showNotification,newId}){
|
function CollaboratorMember({projectsId,owner,project_id,author,showNotification,newId}){
|
||||||
const [ roleName , setRoleName ] = useState(undefined);
|
const [ roleName , setRoleName ] = useState(undefined);
|
||||||
const [ search , setSearch ] = useState(undefined);
|
const [ search , setSearch ] = useState(undefined);
|
||||||
const [ page , setPage ] = useState(undefined);
|
const [ page , setPage ] = useState(1);
|
||||||
const [ isSpin , setIsSpin ] = useState(false);
|
const [ isSpin , setIsSpin ] = useState(true);
|
||||||
const [ role , setRole ] = useState(undefined);
|
const [ role , setRole ] = useState(undefined);
|
||||||
const [ listData , setListData ] = useState(undefined);
|
const [ listData , setListData ] = useState(undefined);
|
||||||
const [ total , setTotal ] = useState(0);
|
const [ total , setTotal ] = useState(0);
|
||||||
|
@ -261,13 +261,13 @@ function CollaboratorMember({projectsId,owner,project_id,author,showNotification
|
||||||
</div>
|
</div>
|
||||||
</Spin>
|
</Spin>
|
||||||
{total > LIMIT ?
|
{total > LIMIT ?
|
||||||
<div className="edu-txt-center mt20 mb20">
|
<div className="edu-txt-center mt20 pb20">
|
||||||
<Pagination
|
<Pagination
|
||||||
showQuickJumper
|
simple
|
||||||
pageSize={LIMIT}
|
pageSize={LIMIT}
|
||||||
current={page}
|
current={page}
|
||||||
total={total}
|
total={total}
|
||||||
onChange={()=>setPage(page)}
|
onChange={(page)=>setPage(page)}
|
||||||
></Pagination>
|
></Pagination>
|
||||||
</div>
|
</div>
|
||||||
:""}
|
:""}
|
||||||
|
|
Loading…
Reference in New Issue