diff --git a/src/forge/Settings/Index.js b/src/forge/Settings/Index.js
index 89b4f88b2..92b60aaf6 100644
--- a/src/forge/Settings/Index.js
+++ b/src/forge/Settings/Index.js
@@ -63,11 +63,11 @@ class Index extends Component {
-1 ? "active" : ""}
+ className={pathname.indexOf("settings/lables") > -1 ? "active" : ""}
>
-
+
项目标签
@@ -146,14 +146,14 @@ class Index extends Component {
>
{/* 协作者 */}
(
)}
>
{/* 修改仓库信息 */}
(
)}
diff --git a/src/forge/Team/Index.jsx b/src/forge/Team/Index.jsx
index 7076d5a91..1a3bfde99 100644
--- a/src/forge/Team/Index.jsx
+++ b/src/forge/Team/Index.jsx
@@ -36,11 +36,11 @@ export default withRouter(CNotificationHOC()(SnackbarHOC()(TPMIndexHOC(
return (
- {/* 组织团队-设置 */}
+ {/* 新建组织 */}
{
- return
+ return
}}
>
{/* 组织团队-新建 */}
@@ -50,6 +50,13 @@ export default withRouter(CNotificationHOC()(SnackbarHOC()(TPMIndexHOC(
return
}}
>
+ {/* 组织团队-设置 */}
+ {
+ return
+ }}
+ >
{/* 组织团队-子级(包含组织团队列表) */}
}}
>
- {/* 新建组织 */}
- {
- return
- }}
- >
+
{/* 组织详情(包含组织设置) */}
组织团队管理
-
+
)
}
diff --git a/src/forge/Team/TeamGroup.jsx b/src/forge/Team/TeamGroup.jsx
index 38725e7d1..1920caed6 100644
--- a/src/forge/Team/TeamGroup.jsx
+++ b/src/forge/Team/TeamGroup.jsx
@@ -3,11 +3,11 @@ import { Banner } from '../Component/layout';
import GroupItems from './TeamGroupItems';
const limit = 14;
-function TeamGroup({organizeDetail,history}){
+function TeamGroup({organizeDetail,history,current_user}){
return(
组织团队
-
+
)
}
diff --git a/src/forge/Team/TeamGroupItems.jsx b/src/forge/Team/TeamGroupItems.jsx
index 7b7188783..5a9558180 100644
--- a/src/forge/Team/TeamGroupItems.jsx
+++ b/src/forge/Team/TeamGroupItems.jsx
@@ -17,7 +17,7 @@ const ImgContent = styled.img`{
border-radius:50%;
margin:5px 10px;
}`
-function TeamGroupItems({organizeDetail,limit, count , history}){
+function TeamGroupItems({organizeDetail,limit, count , history ,current_user}){
const [ page , setPage ] = useState(1);
const [ isSpin , setIsSpin ] = useState(true);
const [ total , setTotal ] = useState(0);
@@ -48,6 +48,7 @@ function TeamGroupItems({organizeDetail,limit, count , history}){
axios.delete(url).then(result =>{
if(result && result.data){
getData();
+ history.push(`/${current_user && current_user.login}`);
}
}).catch(error=>{})
}
diff --git a/src/forge/users/Infos.js b/src/forge/users/Infos.js
index 44bf2f39d..0e56aaef2 100644
--- a/src/forge/users/Infos.js
+++ b/src/forge/users/Infos.js
@@ -282,7 +282,7 @@ class Infos extends Component {
{
return ;
}}