From 1cf7655e63f6f6751c86aea4e07f32a79ba03531 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 2 Apr 2021 10:00:48 +0800 Subject: [PATCH] =?UTF-8?q?tips(=E6=98=93=E4=BF=AE=E3=80=81=E5=A4=8D?= =?UTF-8?q?=E5=88=BB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/Detail.js | 8 +++++--- src/forge/Main/sub/DetailBanner.jsx | 14 ++++++++------ 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index 1deeba36..93e49c71 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -496,9 +496,11 @@ class Detail extends Component { } - - 复刻 (Fork) - + + + 复刻 + + { forked_count > 0 ? platform ? diff --git a/src/forge/Main/sub/DetailBanner.jsx b/src/forge/Main/sub/DetailBanner.jsx index fbdf5541..32bbbfc5 100644 --- a/src/forge/Main/sub/DetailBanner.jsx +++ b/src/forge/Main/sub/DetailBanner.jsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { Skeleton } from 'antd'; +import { Skeleton , Tooltip } from 'antd'; import { Link } from 'react-router-dom'; function DetailBanner({ list , owner , projectsId , isManager , url , pathname , state , urlFlag , projectDetail , platform ,open_devops }){ @@ -39,11 +39,13 @@ function DetailBanner({ list , owner , projectsId , isManager , url , pathname , { item.menu_name === "issues" &&
  • - - - 易修 (Issue) - {projectDetail && projectDetail.issues_count ? {projectDetail.issues_count} : ""} - + + + + 易修 + {projectDetail && projectDetail.issues_count ? {projectDetail.issues_count} : ""} + +
  • } {