From 5d465ec782c6620bc339d7328e0155322bc82861 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Tue, 24 Aug 2021 15:02:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E5=9B=A2=E9=98=9F=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=EF=BC=9A=E5=8F=AF=E4=BB=A5=E8=AE=BE=E7=BD=AE=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=BA=93=E6=9D=83=E9=99=90=EF=BC=8C=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=AE=BF=E9=97=AE=E9=A1=B9=E7=9B=AE=E5=8D=95?= =?UTF-8?q?=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Notice/Index.jsx | 4 ++-- src/forge/Notice/UndoEvent.jsx | 2 +- src/forge/Team/Group/GroupForm.jsx | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/forge/Notice/Index.jsx b/src/forge/Notice/Index.jsx index 63d097486..02f05a87d 100644 --- a/src/forge/Notice/Index.jsx +++ b/src/forge/Notice/Index.jsx @@ -70,9 +70,9 @@ function Index(props){ function deleteEvent(type,count) { let c = count; if(type==="apply"){ - setTransferCount(transferCount-count); - }else if(type==="undo"){ setApplyCount(applyCount-count); + }else if(type==="undo"){ + setTransferCount(transferCount-count); }else{ setMessagesCount(0); c = messagesCount; diff --git a/src/forge/Notice/UndoEvent.jsx b/src/forge/Notice/UndoEvent.jsx index d93a1f83a..c8c579dc1 100644 --- a/src/forge/Notice/UndoEvent.jsx +++ b/src/forge/Notice/UndoEvent.jsx @@ -53,7 +53,7 @@ function UndoEvent(props){ Axios.post(url).then(result=>{ if(result && result.data){ getList(); - props && props.deleteEvent("apply",1); + props && props.deleteEvent("undo",1); } }).catch(error=>{}) } diff --git a/src/forge/Team/Group/GroupForm.jsx b/src/forge/Team/Group/GroupForm.jsx index 2eb8540f9..1be7bdc03 100644 --- a/src/forge/Team/Group/GroupForm.jsx +++ b/src/forge/Team/Group/GroupForm.jsx @@ -202,7 +202,7 @@ export default Form.create()( [], 新建项目(成员可以在组织中新建项目。创建者将自动获得新建的项目的管理员权限), false, 20,onwers ? "hide":"" )} - {/* {helper( + {helper( '版本库权限:', "authorize", [], @@ -211,9 +211,9 @@ export default Form.create()( 写入权限(成员可以查看和推送提交到团队项目) 管理员权限(成员可以拉取和推送到团队项目同时可以添加协作者) , false, 20,onwers ? "hide":"" - )} */} + )} - {/*

允许访问项目单元:

+

允许访问项目单元:

代码库(查看源码、文件、提交和分支) @@ -230,7 +230,7 @@ export default Form.create()( 版本发布(跟踪项目版本和下载) - */} + cancelEdit()}>取消