forked from Gitlink/forgeplus-react
save
This commit is contained in:
parent
bb6fe08c54
commit
f6b59e0a3a
|
@ -119,18 +119,19 @@ function Tags(props) {
|
||||||
return(
|
return(
|
||||||
<div>
|
<div>
|
||||||
<SubMenu tab={"tags"} projectsId={projectsId} owner={owner}/>
|
<SubMenu tab={"tags"} projectsId={projectsId} owner={owner}/>
|
||||||
{
|
<Spin spinning={isSpin}>
|
||||||
source && source.length > 0 ?
|
|
||||||
<div className="tagSpin">
|
<div className="tagSpin">
|
||||||
<Spin spinning={isSpin}>
|
{
|
||||||
<Table
|
source && source.length > 0 &&
|
||||||
className="tagTable"
|
<Table
|
||||||
dataSource={source} columns={columns} pagination={false}></Table>
|
className="tagTable"
|
||||||
</Spin>
|
dataSource={source} columns={columns} pagination={false}></Table>
|
||||||
|
}
|
||||||
|
{
|
||||||
|
source && source.length === 0 && <Nonedata _html={'暂无数据~'}/>
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
:
|
</Spin>
|
||||||
<Nonedata _html={'暂无数据~'}/>
|
|
||||||
}
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,10 +39,6 @@
|
||||||
}
|
}
|
||||||
.tagSpin{
|
.tagSpin{
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
text-align: center;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
}
|
||||||
.tagBranch{
|
.tagBranch{
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
|
|
Loading…
Reference in New Issue