forked from Gitlink/forgeplus-react
Merge pull request 'issue-标签列表数据提示' (#135) from caishi/forgeplus-react:pre_develop_dev into pre_develop_dev
This commit is contained in:
commit
7a8540045b
|
@ -4,6 +4,7 @@ import { Table , Tooltip , Spin } from 'antd';
|
|||
import axios from 'axios';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { truncateCommitId } from '../../common/util';
|
||||
import Nonedata from '../../Nodata';
|
||||
import './Index.scss';
|
||||
import Tree from '../img/tree.png'
|
||||
import moment from 'moment';
|
||||
|
@ -100,14 +101,15 @@ function Tags(props) {
|
|||
<SubMenu tab={"tags"} projectsId={projectsId} owner={owner}/>
|
||||
{
|
||||
source && source.length > 0 ?
|
||||
|
||||
<Table
|
||||
className="tagTable"
|
||||
dataSource={source} columns={columns} pagination={false}></Table>
|
||||
:
|
||||
<div className="tagSpin">
|
||||
<Spin spinning={isSpin}/>
|
||||
<Spin spinning={isSpin}>
|
||||
<Table
|
||||
className="tagTable"
|
||||
dataSource={source} columns={columns} pagination={false}></Table>
|
||||
</Spin>
|
||||
</div>
|
||||
:
|
||||
<Nonedata _html={'暂无数据~'}/>
|
||||
}
|
||||
</div>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue