From 63a79c42966e1412a3b984579496e9e5b00f681f 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 2fc57434..e9cb06fc 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 } 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 && + } )