src/layout/component/sidebar/waterLeftAside/asideNew.vue
@@ -100,6 +100,13 @@ }, }); } setTimeout(() => { activeRoomId.value = room.id; }, 0); }; const newChatRoomClick = async () => { @@ -117,14 +124,10 @@ } else { chatRoomList.value.unshift(newRoom); } activeRoomId.value = newRoom.id; nextTick(() => { gotoAnswerPage(newRoom); }); gotoAnswerPage(newRoom); }; const roomClick = (room: ChatRoomItem) => { activeRoomId.value = room.id; gotoAnswerPage(room); };