zhangxiao
2024-08-17 b9933a7a110cdd393624121a0f62f9299ad25589
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) {