Merge branch 'pre_develop_dev' of https://git.trustie.net/Gitlink/forgeplus-react into pre_develop_dev

This commit is contained in:
谢思 2021-10-11 21:21:57 +08:00
commit ed548d16e8
1 changed files with 8 additions and 6 deletions

View File

@ -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 ?
<div className="tagSpin">
<Spin spinning={isSpin}>
<Table
className="tagTable"
dataSource={source} columns={columns} pagination={false}></Table>
:
<div className="tagSpin">
<Spin spinning={isSpin}/>
</Spin>
</div>
:
<Nonedata _html={'暂无数据~'}/>
}
</div>
)