/** 评论区是否有未发送草稿(文字 / @ / 附件) */ export function hasOaCommentDraft(input: { content?: string | null mentionCount?: number attachmentCount?: number }): boolean { return !!( String(input.content || '').trim() || (input.mentionCount || 0) > 0 || (input.attachmentCount || 0) > 0 ) }