增强SidebarMenu和MessageList组件,新增对currentContact变化的监听,自动切换聊天tab,优化联系人点击处理逻辑,调整置顶标识为数字类型,提升代码可读性和用户体验。

This commit is contained in:
超级老白兔
2025-10-24 11:28:01 +08:00
parent 3b82908e8a
commit 1b02666531
6 changed files with 198 additions and 21 deletions

View File

@@ -49,7 +49,7 @@ export interface ChatSession {
lastUpdateTime: string; // 最后更新时间
config: {
unreadCount: number; // 未读数量
top: boolean; // 是否置顶
top: number; // 是否置顶1=置顶0=非置顶)
};
sortKey: string; // 预计算排序键