yangyin
2024-11-26 7154e8d78ada508584d6fb477d050449322ecf08
src/layout/component/sidebar/components/ChatRecord.vue
@@ -112,7 +112,7 @@
            title: edit.value,
         });
         if (res.json_ok) {
            const foundIndex = chatRoomList.value.findIndex((item) => item.id === activeRoomId.value);
            const foundIndex = chatRoomList.value.findIndex((item) => item.id === room.id);
            chatRoomList.value[foundIndex].title = edit.value;
            chatRoomRef.value.firstElementChild?.scrollIntoView();
         }