Commit e00f7a65 by Sixong.Zhu

update

parent 054ffe24
Showing with 7 additions and 2 deletions
...@@ -760,7 +760,8 @@ export default { ...@@ -760,7 +760,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(
...@@ -858,7 +859,11 @@ export default { ...@@ -858,7 +859,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