Expand description
评论区段组件。 评论区段组件
管理单篇文章的评论上下文(回复目标、刷新触发器、待审核评论), 负责加载评论列表、轮询待审核评论状态并渲染表单与列表。
Re-exports§
pub use CommentSection_completions::Component::CommentSection;
Structs§
- Comment
Context - 评论上下文,供评论相关组件共享状态。
- Comment
Section Props - Properties for the
CommentSectioncomponent.
Constants§
- PENDING_
POLL_ 🔒INTERVAL_ MS - 待审核评论状态的轮询间隔(毫秒)。
Functions§
- Comment
Section - 评论区段组件。