Commit 67148e4c by 吴云建

sdk版本修改

parent 328ddbcd
Showing with 2 additions and 2 deletions
...@@ -425,7 +425,7 @@ export default { ...@@ -425,7 +425,7 @@ export default {
const { imChatId } = await sdk() const { imChatId } = await sdk()
.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);
commit(ChatStore.MUTATION_SHOW_CHAT, true); commit(ChatStore.MUTATION_SHOW_CHAT, true);
...@@ -438,7 +438,7 @@ export default { ...@@ -438,7 +438,7 @@ export default {
const { imChatId } = await sdk() const { imChatId } = await sdk()
.model(params.modelName) .model(params.modelName)
.chat(+params.selectedListId, orgId()) .chat(+params.selectedListId, orgId())
.createChat(true); .createChat("这是名字,要改", true);
const chatId = Number(imChatId); const chatId = Number(imChatId);
await commit(ChatStore.MUTATION_SHOW_CHAT, true); await commit(ChatStore.MUTATION_SHOW_CHAT, true);
await dispatch(ChatStore.ACTION_SAVE_CURRENT_CHAT_ID_VERSION, chatId); await dispatch(ChatStore.ACTION_SAVE_CURRENT_CHAT_ID_VERSION, chatId);
......
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