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