fork列表

This commit is contained in:
caishi 2021-02-24 15:45:48 +08:00
parent 8d386ff70b
commit 2ceaead909
1 changed files with 4 additions and 7 deletions

View File

@ -115,7 +115,7 @@ class ForkUsers extends Component {
}
render() {
const { users, count, isSpin } = this.state;
const { users, isSpin } = this.state;
return (
<div className="pbt15">
@ -123,12 +123,9 @@ class ForkUsers extends Component {
<div className="plr-20 user-list-items">
<div className="font-18 pb-10 border-b-line">Fork列表</div>
<Spin spinning={isSpin}>
<div className="w-100 inline-block">
{count === 0 ? (
<NoneData _html="暂时还没有相关数据!" />
) : (
this.renderList(users)
)}
<div className="w-100 inline-block" style={{minHeight:"400px"}}>
{users && users.length === 0 ? <NoneData _html="暂时还没有相关数据!" /> :"" }
{this.renderList(users)}
</div>
</Spin>
{this.Paginations()}