diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index 1deeba36a..93e49c71a 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 fbdf5541c..32bbbfc5f 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} : ""} + +
  • } {