diff --git a/src/forge/Issues/Component/comments/list.jsx b/src/forge/Issues/Component/comments/list.jsx index 416deadf..45fd4243 100644 --- a/src/forge/Issues/Component/comments/list.jsx +++ b/src/forge/Issues/Component/comments/list.jsx @@ -130,7 +130,7 @@ function IssueCommentList(props){ {journals && (journals.length > 0 && journals.map(item=>{return item.is_journal_detail ? (!item.closeAndSpan || item.id === item.start || open === item.start) ?
{/* 操作日志 */}
-
+
@@ -138,7 +138,7 @@ function IssueCommentList(props){ {item.user.name}  {(item.user.name.length + item.operate_content.length) > 62 ? {item.user.name}
}> : }
- {timeAgo(item.created_at)} + {timeAgo(item.created_at)}
{(item.closeAndSpan && item.id === item.start) && {setOpen(open === item.id ? undefined : item.id)}}>{open === item.id ? `点击收起操作日志` : `已折叠${item.numCount}条, 点击查看`}}
@@ -153,7 +153,7 @@ function IssueCommentList(props){
{item.user.name} - {timeAgo(item.created_at)} + {timeAgo(item.created_at)}
{login &&
{/* 平台管理员/仓库管理员/发布评论者/issue创建者 */} @@ -167,8 +167,8 @@ function IssueCommentList(props){ } {/* 仅评论者可修改 */} - {login === item.user.login && } - {setParentId(item.id); setReplyId(item.id); setShowEdit(3)}}> + {login === item.user.login && } + {setParentId(item.id); setReplyId(item.id); setShowEdit(3)}}>
}
{commentCtx(item.notes)}
@@ -189,7 +189,7 @@ function IssueCommentList(props){ {i.user.name} {i.reply_user && 回复} {i.reply_user && i.reply_user.name} - {timeAgo(i.created_at)} + {timeAgo(i.created_at)}
{login &&
{/* 平台管理员/仓库管理员/发布评论者/回复评论者/issue创建者 */} @@ -203,9 +203,9 @@ function IssueCommentList(props){ } {/* 仅回复评论者可修改 */} - {login === i.user.login && } + {login === i.user.login && } {setParentId(item.id);setReplyId(i.id); setShowEdit(5)}}> - +
}