diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index cb39c2a..0a287f3 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -57,7 +57,7 @@ {{ getRunningAccounts(getGroup(tabIndex)?.name || tab.label) - }} 个运行中 + }} 个运行中 {{ getTotalAccounts(tabIndex) }} 个账号 @@ -167,14 +167,14 @@ - + {{ session.name }} - - + 视图: {{ session.viewId }} + + @@ -222,8 +222,9 @@ const showReplyList = async () => { if (replyListVisible.value && window.electronAPI?.getRepliedSessions) { try { const result = await window.electronAPI.getRepliedSessions() - // 最新的在最后,前端展示时保持原顺序(最下边是最新的) - repliedSessions.value = result || [] + console.log("回复列表里是", result) + // 按倒序展示,最新的在最前面 + repliedSessions.value = (result || []).reverse() } catch (e) { console.error('获取回复列表失败:', e) repliedSessions.value = []