diff --git a/src/forge/Issues/Component/comments/list.jsx b/src/forge/Issues/Component/comments/list.jsx index d78eb46d..00ea776f 100644 --- a/src/forge/Issues/Component/comments/list.jsx +++ b/src/forge/Issues/Component/comments/list.jsx @@ -118,7 +118,7 @@ function IssueCommentList(props){ {/* 添加评论 */} - {category !== 'operate' &&
+ {category !== 'operate' &&
{login ? showEdit === 1 ? :
@@ -232,8 +232,8 @@ function IssueCommentList(props){ {totalCount>limit &&
setPage(page)}/>
} - {/* 无数据 */} - {journals && !journals.length && } + {/* 无数据 新建第一条评论时暂无数据隐藏 用户未登录隐藏*/} + {journals && !journals.length && showEdit !== 1 && login && }
) } diff --git a/src/forge/Main/tree/Index.jsx b/src/forge/Main/tree/Index.jsx index 5cf79b79..d18d3986 100644 --- a/src/forge/Main/tree/Index.jsx +++ b/src/forge/Main/tree/Index.jsx @@ -73,7 +73,6 @@ function Index(props) { dataIndex: "name", key: 1, ellipsis: true, - width: "160px", className: "branchNameColumn", render: (txt, item) => { return ( @@ -112,7 +111,7 @@ function Index(props) { dataIndex: "commit_id", key: 4, ellipsis: true, - width: "300px", + width: "250px", render: (txt, item) => { return
@@ -130,6 +129,7 @@ function Index(props) { title: "分支类型", dataIndex: "default_branch", key: 5, + width: "150px", render: (txt, item) => { return isManager ? txt === item.name ? 默认分支 : )} - + }
}