diff --git a/src/forge/Issues/Pages/list.jsx b/src/forge/Issues/Pages/list.jsx index ef242b710..081f4eb4b 100644 --- a/src/forge/Issues/Pages/list.jsx +++ b/src/forge/Issues/Pages/list.jsx @@ -77,6 +77,10 @@ function List(props){ }else{ Init(); } + // 标签列表页点击跳转issue列表页并筛选 + if (props.location.state && props.location.state.issue) { + chooseTagFunc(props.location.state.issue) + } },[]) useEffect(()=>{ diff --git a/src/forge/Issues/Pages/sign.jsx b/src/forge/Issues/Pages/sign.jsx index bed42dbcc..645b8a7e5 100644 --- a/src/forge/Issues/Pages/sign.jsx +++ b/src/forge/Issues/Pages/sign.jsx @@ -189,6 +189,12 @@ function Sign(props){ c && setDefaultColor(`#${c}`); setEdit(true); } + + // 标签列表页点击跳转issue列表页并筛选 + function toIssues(issue) { + props.history.push({ pathname: `/${owner}/${projectsId}/issues`, state: { issue: issue } }); + } + return(
- {i.name} + toIssues(i) }>{i.name}

{i.description}

- {i.issues_count || 0} 疑修 + toIssues(i) } >{i.issues_count || 0} 疑修 {/* {i.pull_requests_count || 0} 合并请求 */}

diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index c6cd4d56d..fe570e020 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -511,9 +511,9 @@ function CoderDepot(props){ } { checkIfLogin && checkIfLogin()? - eventTrack(`/${owner}/${projectsId}/webIDE/tree/${branchName||defaultBranch}`)}>Web IDE

+ eventTrack(`/${owner}/${projectsId}/webIDE/tree/${branchName||defaultBranch}`)}>Web IDE : - {showLoginDialog(`/${owner}/${projectsId}`)}}>Web IDE
+ {showLoginDialog(`/${owner}/${projectsId}`)}}>Web IDE } diff --git a/src/forge/Main/sub/DetailBanner.jsx b/src/forge/Main/sub/DetailBanner.jsx index fc4196afd..f5c3d6b47 100644 --- a/src/forge/Main/sub/DetailBanner.jsx +++ b/src/forge/Main/sub/DetailBanner.jsx @@ -98,7 +98,7 @@ function DetailBanner({ history,list , owner , projectsId ,showNotification , ur
  • {/* */} - 引擎(Engine)
    + 引擎(Engine) {projectDetail && projectDetail.ops_count ? {projectDetail.ops_count} : ""}
  • @@ -138,7 +138,7 @@ function DetailBanner({ history,list , owner , projectsId ,showNotification , ur
  • - 服务
    + 服务
  • }