diff --git a/src/forge/Main/tree/Index.jsx b/src/forge/Main/tree/Index.jsx index e89f6ae7..dbfe770f 100644 --- a/src/forge/Main/tree/Index.jsx +++ b/src/forge/Main/tree/Index.jsx @@ -159,7 +159,7 @@ function Index(props) { 下载 - {txt === item.default_branch ? : } + {isManager && (txt === item.default_branch ? : )} ) } @@ -284,7 +284,7 @@ function Index(props) { {setCurrent(1);setName(value)}} allowClear/>
{isManager && 分支设置} - + {(isManager || isDeveloper) && (projectDetail && projectDetail.type!==2) && }