From 138a4c551dd06b7d316247e473545c5c2ce82698 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 16 Jul 2020 09:40:39 +0800 Subject: [PATCH] hide --- src/forge/Main/CoderRootDirectory.js | 3 +++ src/forge/Main/Detail.js | 4 ++-- src/forge/Main/RootTable.js | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/forge/Main/CoderRootDirectory.js b/src/forge/Main/CoderRootDirectory.js index 71c36518..75234365 100644 --- a/src/forge/Main/CoderRootDirectory.js +++ b/src/forge/Main/CoderRootDirectory.js @@ -363,6 +363,7 @@ class CoderRootDirectory extends Component { } title = (branchLastCommit,lastCommitAuthor) => { + console.log(branchLastCommit) if (branchLastCommit) { return (
@@ -398,6 +399,8 @@ class CoderRootDirectory extends Component {
); + }else{ + return false; } } diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index 041eada6..16fcc089 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -438,12 +438,12 @@ class Detail extends Component { } -
  • -1 ? "active" : ""}> + {/*
  • -1 ? "active" : ""}> 工作流 {projectDetail && projectDetail.ops_count ? {projectDetail.ops_count} : ""} -
  • + */}
  • -1 || url.indexOf("meilpost") > -1) ? "active" : ""}> 里程碑 diff --git a/src/forge/Main/RootTable.js b/src/forge/Main/RootTable.js index 708f0f0b..deaacfce 100644 --- a/src/forge/Main/RootTable.js +++ b/src/forge/Main/RootTable.js @@ -11,7 +11,7 @@ class RootTable extends Component{ showHeader={false} size="small" pagination={false} - title={() => title()} + title={title} /> ) }