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 {
) {
const { imChatId, catalog } = await Chat.getSdk()
.model(params.modelName)
.chat(Number(params.selectedListId)
, orgId())
.createChat() as any;
.chat(params.selectedListId, orgId())
.createChat();
const chatId = +imChatId;
await dispatch(ChatStore.ACTION_GET_MY_CHAT_LIST);
commit(ChatStore.MUTATION_SHOW_CHAT, !params.showByPage);
......@@ -558,7 +557,7 @@ export default {
) {
const { imChatId } = await Chat.getSdk()
.model(params.modelName)
.chat(Number(params.selectedListId), orgId())
.chat(params.selectedListId, orgId())
.createChat(true);
const chatId = +imChatId;
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