扩展消息部分代码提交
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
import { BasicConstant, ChatParam, preferenceStore } from '@itcast/basic';
|
||||
import { ChatKitClient, ChatRepo, NEUserWithFriend, PersonSelectParam, TeamRepo } from '@nimkit/chatkit';
|
||||
import { CommonEmptyResult, CommonLongLoadingProgress, NetworkBrokenBuilder } from '@nimkit/common';
|
||||
import { V2NIMConversationType, V2NIMLocalConversation } from '@nimsdk/base';
|
||||
@@ -90,7 +91,15 @@ export struct LocalConversationPage {
|
||||
*/
|
||||
goToChatPage(conversationInfo: V2NIMLocalConversation) {
|
||||
if (conversationInfo?.type == V2NIMConversationType.V2NIM_CONVERSATION_TYPE_P2P) {
|
||||
this.pathStack.pushPath({ name: "ChatP2PPage", param: conversationInfo.conversationId })
|
||||
preferenceStore.setItemString('gdxz_consult_uuid','')
|
||||
preferenceStore.setItemString('gdxz_sessionType',BasicConstant.general)
|
||||
this.pathStack.pushPath({ name: "ChatP2PPage",
|
||||
param: {
|
||||
// gdxz_sessionType:BasicConstant.general,
|
||||
conversationId:conversationInfo.conversationId
|
||||
} as ChatParam
|
||||
|
||||
})
|
||||
} else if (conversationInfo?.type == V2NIMConversationType.V2NIM_CONVERSATION_TYPE_TEAM) {
|
||||
this.pathStack.pushPath({ name: "ChatTeamPage", param: conversationInfo.conversationId })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user