forked from Gitlink/forgeplus-react
Merge pull request '分支页面-空数据无提示' (#223) from caishi/forgeplus-react:dev_educoder into dev_educoder
This commit is contained in:
commit
a3cc73127d
|
@ -4,6 +4,7 @@ import { truncateCommitId } from '../../common/util';
|
|||
import { Link } from 'react-router-dom';
|
||||
import { getImageUrl } from 'educoder';
|
||||
import { Dropdown , Menu , Spin } from 'antd';
|
||||
import Nodata from '../../Nodata';
|
||||
import './Index.scss';
|
||||
|
||||
import Tree from '../img/tree.png';
|
||||
|
@ -107,6 +108,9 @@ function Index(props) {
|
|||
)
|
||||
})
|
||||
}
|
||||
{
|
||||
list && list.length === 0 && <Nodata _html="暂无数据"/>
|
||||
}
|
||||
</div>
|
||||
</Spin>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue