From fbaf19855a396e51b74f3d87e25cafc78149cd94 Mon Sep 17 00:00:00 2001 From: caishi Date: Sat, 23 Oct 2021 17:00:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=94=AF=E6=97=A0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/tree/Index.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/forge/Main/tree/Index.jsx b/src/forge/Main/tree/Index.jsx index 2829331b9..a297fea10 100644 --- a/src/forge/Main/tree/Index.jsx +++ b/src/forge/Main/tree/Index.jsx @@ -4,6 +4,7 @@ import { truncateCommitId } from '../../common/util'; import { Link } from 'react-router-dom'; import { getImageUrl , turnbar } from 'educoder'; import { Dropdown , Menu , Spin } from 'antd'; +import Nodata from '../../Nodata'; import './Index.scss'; import Tree from '../img/tree.png'; @@ -101,6 +102,9 @@ function Index(props) { ) }) } + { + list && list.length === 0 && + } )