src/views/sessionManager/index.vue
@@ -244,10 +244,15 @@ } }; // 新建会话 const createSession = async (id) => { const createSession = async (id,name='未命名会话') => { // 如果有会话id console.log(name, '新建会话名称'); const res = await addSessionApi({ dialog_id: id, conversation_desc: "未命名会话" conversation_desc: name }); // console.log(res, "res"); if (res.code == 200) {