diff --git a/src/forge/Settings/Branch.js b/src/forge/Settings/Branch.js index ed3728a2..3e19f37e 100644 --- a/src/forge/Settings/Branch.js +++ b/src/forge/Settings/Branch.js @@ -88,7 +88,7 @@ export default ((props)=>{ // 跳转 function settingRule(protectBranch){ - props.history.push(`/${owner}/${projectsId}/settings/branch/${protectBranch}`); + props.history.push(`/${owner}/${projectsId}/settings/branches/${protectBranch}`); } // 翻页 diff --git a/src/forge/Settings/BranchRule.jsx b/src/forge/Settings/BranchRule.jsx index d131372f..85b9bf20 100644 --- a/src/forge/Settings/BranchRule.jsx +++ b/src/forge/Settings/BranchRule.jsx @@ -290,7 +290,7 @@ export default Form.create()( { - history.push(`/${owner}/${projectsId}/settings/branch`); + history.push(`/${owner}/${projectsId}/settings/branches`); }} > 取消 diff --git a/src/forge/Settings/Index.js b/src/forge/Settings/Index.js index 92b60aaf..3ebb5b49 100644 --- a/src/forge/Settings/Index.js +++ b/src/forge/Settings/Index.js @@ -91,17 +91,17 @@ class Index extends Component { } >

- + 分支设置

  • -1 ? "active" : ""} + className={pathname.indexOf("settings/labels") > -1 ? "active" : ""} >

    - + 项目标签 @@ -153,19 +153,19 @@ class Index extends Component { > {/* 修改仓库信息 */} ( )} > ( )} > ( )}