From 03cd10f599363d26e64798def5ef2cf96a8cdee2 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 4 Feb 2021 18:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=9B=A2=E9=98=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Team/List.jsx | 2 +- src/forge/Team/RightBox.jsx | 4 ++-- src/forge/Team/TeamGroup.jsx | 8 -------- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/forge/Team/List.jsx b/src/forge/Team/List.jsx index c8b781b3..004f2628 100644 --- a/src/forge/Team/List.jsx +++ b/src/forge/Team/List.jsx @@ -106,7 +106,7 @@ function List(props){ } - + ) } diff --git a/src/forge/Team/RightBox.jsx b/src/forge/Team/RightBox.jsx index fea7526a..06731712 100644 --- a/src/forge/Team/RightBox.jsx +++ b/src/forge/Team/RightBox.jsx @@ -36,7 +36,7 @@ const Img = styled.img`{ height:45px; margin-right:12px; }` -function RightBox({ OIdentifier , history }) { +function RightBox({ OIdentifier , history , admin }) { const [ memberData, setMemberData ] = useState(undefined); const [ groupData, setGroupData ] = useState(undefined); @@ -87,7 +87,7 @@ function RightBox({ OIdentifier , history }) { history.push(`/organize/${OIdentifier}/group/new`)}>新建团队} + bottom={admin && } url={`/organize/${OIdentifier}/group`} > { diff --git a/src/forge/Team/TeamGroup.jsx b/src/forge/Team/TeamGroup.jsx index b3d8cd22..a5e5cc92 100644 --- a/src/forge/Team/TeamGroup.jsx +++ b/src/forge/Team/TeamGroup.jsx @@ -12,14 +12,6 @@ const SpanFoot = styled.span`{ margin-right:5px; color:#333 }` -const ALink = styled.a`{ - border:1px solid #F73030; - color:#F73030!important; - height:30px; - line-height:30px; - padding:0px 15px; - border-radius:5px; -}` const ImgContent = styled.img`{ height:44px; width:44px;