Commit 3bb0d1c4 by 吴云建

fix

parents 26988b8c 76c7b004
Showing with 3 additions and 3 deletions
......@@ -440,7 +440,7 @@ export default {
.chat(+params.selectedListId, orgId())
.createChat(true);
const chatId = Number(imChatId);
commit(ChatStore.MUTATION_SHOW_CHAT, true);
await commit(ChatStore.MUTATION_SHOW_CHAT, true);
await dispatch(ChatStore.ACTION_SAVE_CURRENT_CHAT_ID_VERSION, chatId);
},
async [ChatStore.ACTION_REGISTER_EVENT]({ dispatch, commit, state }) {
......@@ -625,7 +625,7 @@ export default {
);
await dispatch(ChatStore.ACTION_SAVE_CURRENT_CHAT_ID_VERSION, firstChat.chat_id);
},
async [ChatStore.ACTION_CHAT_START_RECEPTION](
{ getters, dispatch }
) {
......@@ -640,7 +640,7 @@ export default {
.startChat();
await new Promise((resolve) => setTimeout(resolve, 500));
await dispatch(ChatStore.ACTION_GET_CHAT_MEMBERS);
},
},
async [ChatStore.ACTION_CHAT_FINISH_RECEPTION](
{ getters, dispatch }
) {
......
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