Skip to content

tdesign-react/chat的 user 角色增加对话操作栏 #4253

@randomjzy

Description

@randomjzy

这个功能解决了什么问题

希望能够为 user 角色增加对话操作栏(以便于复制、修改用户消息等),目前分析看:
即使我们在 messageProps 中为 user 角色配置了 actions: ['copy', 'replay'],组件内部的 getChatActionBar 对非 AI 消息直接返回 false,actionbar 插槽保留为空(对应看到的 )

你建议的方案是什么

不限制 user 角色用户的对话操作栏

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions