feat: 更新评论输入框的占位符,支持自定义占位符文本
All checks were successful
Push to Helm Chart Repository / build (push) Successful in 27s

This commit is contained in:
2025-09-12 16:27:12 +08:00
parent 0a7cbc00fc
commit 3fdd801d28
3 changed files with 132 additions and 129 deletions

View File

@ -268,6 +268,7 @@ export function CommentItem(
user={user}
onCommentSubmitted={onReply}
initIsPrivate={isPrivate}
placeholder={`${t("reply")} ${comment.user.nickname} :`}
/>}
{activeInput && activeInput.type === 'edit' && activeInput.id === comment.id && <CommentInput
user={user}