refactor(components): 重构聊天组件和语音输入组件
- 聊天组件: - 优化了代码结构,提高了可读性和可维护性 - 使用 immer 的 produce 函数优化了状态更新逻辑 - 调整了部分变量命名,使其更加清晰 - 移除了未使用的导入和变量 - 语音输入组件: - 还原了语音输入组件
Showing
3 changed files
with
84 additions
and
85 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment