Commit cfc2cd85 by Sixong.Zhu

u

parent 31531649
Showing with 7 additions and 2 deletions
...@@ -704,7 +704,8 @@ export default { ...@@ -704,7 +704,8 @@ export default {
await getChatModelInfo( await getChatModelInfo(
wantedChatRoom.model_name, wantedChatRoom.model_name,
wantedChatRoom.obj_id wantedChatRoom.obj_id,
wantedChatRoom.detail_name
) )
.then((info) => { .then((info) => {
commit( commit(
...@@ -802,7 +803,11 @@ export default { ...@@ -802,7 +803,11 @@ export default {
await dispatch(ChatStore.ACTION_GET_MY_CHAT_LIST); await dispatch(ChatStore.ACTION_GET_MY_CHAT_LIST);
const firstChat = state[ChatStore.STATE_MY_CHAT_ROOM_LIST]?.list[0]; const firstChat = state[ChatStore.STATE_MY_CHAT_ROOM_LIST]?.list[0];
if (firstChat == null) return; if (firstChat == null) return;
await getChatModelInfo(firstChat.model_name, firstChat.obj_id); await getChatModelInfo(
firstChat.model_name,
firstChat.obj_id,
firstChat.detail_name
);
await dispatch( await dispatch(
ChatStore.ACTION_SAVE_CURRENT_CHAT_ID_VERSION, ChatStore.ACTION_SAVE_CURRENT_CHAT_ID_VERSION,
firstChat.chat_id firstChat.chat_id
......
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