Commit 3276c499 by Sixong.Zhu

update

parent d37c48c8
...@@ -341,7 +341,7 @@ export default class ModelChatList extends Vue { ...@@ -341,7 +341,7 @@ export default class ModelChatList extends Vue {
chats.forEach((chat) => { chats.forEach((chat) => {
this.sdk this.sdk
.model(chat.model_name) .model(chat.model_name)
.chat(+chat.obj_id, this.global.org.id.toString()) .chat(chat.obj_id, this.global.org.id.toString())
.startChat() .startChat()
.finally(() => { .finally(() => {
count++; count++;
......
...@@ -526,7 +526,7 @@ export default { ...@@ -526,7 +526,7 @@ export default {
) { ) {
const { imChatId, catalog } = await Chat.getSdk() const { imChatId, catalog } = await Chat.getSdk()
.model(params.modelName) .model(params.modelName)
.chat(+params.selectedListId, orgId()) .chat(params.selectedListId, orgId())
.createChat(); .createChat();
const chatId = Number(imChatId); const chatId = Number(imChatId);
await dispatch(ChatStore.ACTION_GET_MY_CHAT_LIST); await dispatch(ChatStore.ACTION_GET_MY_CHAT_LIST);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment