wujingjing
2024-10-24 98bb96923a7fa57b46dc331890ff051a3cd11253
新建对话开始
已修改1个文件
4 ■■■■ 文件已修改
src/layout/component/sidebar/components/ChatRecord.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/component/sidebar/components/ChatRecord.vue
@@ -103,13 +103,13 @@
const newChatRoomClick = async () => {
    const res = await CreateHistoryGroup({
        group_title: 'chat room',
        group_title: '新建对话开始',
    });
    const newRoom = {
        id: res.history_group_id,
        isInitial: true,
        title: 'chat room',
        title: '新建对话开始',
    };
    if (!chatRoomList.value) {
        chatRoomList.value = [newRoom];