恢复视频的发布

This commit is contained in:
cansnow
2026-02-15 19:40:36 +08:00
parent 7c6656d1fc
commit abd279e7a7
22 changed files with 236 additions and 129 deletions
+15 -3
View File
@@ -103,13 +103,25 @@ const actions = {
commit("SET_CURRENT_MEMBER_IN_GROUP", memberInfo);
}
},
resetConversationState({
commit
}) {
resetConversationState({commit}) {
commit("SET_CURRENT_MEMBER_IN_GROUP", {});
commit("SET_CURRENT_GROUP", {});
commit("SET_CURRENT_CONVERSATION", {});
},
deleteConversation({state,commit},conversationID) {
return new Promise((reject,resolve)=>{
IMSDK.asyncApi('deleteConversationAndDeleteAllMsg',uuidv4(), conversationID).then(res=>{
const list = state.conversationList.filter((item)=>{
return item.conversationID != conversationID;
});
commit("SET_CONVERSATION_LIST", [...list]);
resolve();
}).catch((e)=>{
console.error(e);
reject(e);
})
})
},
};
export default {