From ac4b7542e2d98592c3f2936685fbd7b52c8fc13e Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 28 Apr 2021 20:22:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=A4=E9=94=80=E9=9A=90=E8=97=8F-=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/sub/DetailBanner.jsx | 4 ++-- src/forge/Settings/Setting.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/forge/Main/sub/DetailBanner.jsx b/src/forge/Main/sub/DetailBanner.jsx index aa801773..331790c8 100644 --- a/src/forge/Main/sub/DetailBanner.jsx +++ b/src/forge/Main/sub/DetailBanner.jsx @@ -75,7 +75,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa :"" } - {/* { + { item.menu_name === "resources" &&
  • @@ -84,7 +84,7 @@ function DetailBanner({ history,list , owner , projectsId , isManager , url , pa {projectDetail && projectDetail.source_count ? {projectDetail.source_count} :""}
  • - } */} + } { item.menu_name === "versions" &&
  • diff --git a/src/forge/Settings/Setting.js b/src/forge/Settings/Setting.js index 4c719968..05b9967c 100644 --- a/src/forge/Settings/Setting.js +++ b/src/forge/Settings/Setting.js @@ -15,7 +15,7 @@ const menu = [ {name:"易修 (Issue)",index:"issues"}, {name:"合并请求",index:"pulls"}, {name:"工作流(beta版)",index:"devops"}, - // {name:"资源库",index:"resources"}, + {name:"资源库",index:"resources"}, {name:"里程碑",index:"versions"}, {name:"动态",index:"activity"}, ]