Skip to content

[Good First Issue] Sender 词槽(slot)模式的 content 支持 formatResult #1956

Description

@Div627

🎓 OSS26 轻训营 · 个人认领题(Good First Issue)
关联原始 issue:#1638

背景

词槽(slot)模式下,源码对 content 做了特殊判断,未走 formatResult 格式化逻辑,导致 content 无法像普通值那样被格式化输出。

模块

packages/x/components/sender/hooks/use-slot-config-state.ts(约 L128-165)

任务

让 slot 模式的 content 也接入 formatResult,与非 slot 模式行为对齐。

验收

  • slot + formatResult 的 demo
  • 单测断言 content 经 formatResult 正确格式化
  • 更新文档

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions