Commit eca55214 by Sixong.Zhu

user id use string(force)

parent 6890da15
Showing with 3 additions and 4 deletions
...@@ -540,9 +540,8 @@ export default { ...@@ -540,9 +540,8 @@ export default {
) { ) {
const { imChatId, catalog } = await Chat.getSdk() const { imChatId, catalog } = await Chat.getSdk()
.model(params.modelName) .model(params.modelName)
.chat(Number(params.selectedListId) .chat(params.selectedListId, orgId())
, orgId()) .createChat();
.createChat() as any;
const chatId = +imChatId; const chatId = +imChatId;
await dispatch(ChatStore.ACTION_GET_MY_CHAT_LIST); await dispatch(ChatStore.ACTION_GET_MY_CHAT_LIST);
commit(ChatStore.MUTATION_SHOW_CHAT, !params.showByPage); commit(ChatStore.MUTATION_SHOW_CHAT, !params.showByPage);
...@@ -558,7 +557,7 @@ export default { ...@@ -558,7 +557,7 @@ export default {
) { ) {
const { imChatId } = await Chat.getSdk() const { imChatId } = await Chat.getSdk()
.model(params.modelName) .model(params.modelName)
.chat(Number(params.selectedListId), orgId()) .chat(params.selectedListId, orgId())
.createChat(true); .createChat(true);
const chatId = +imChatId; const chatId = +imChatId;
await commit(ChatStore.MUTATION_SHOW_CHAT, true); await commit(ChatStore.MUTATION_SHOW_CHAT, true);
......
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