no message

cyl/master-0822
jscyl13849007907 3 months ago
parent c1c8cb8441
commit 1acb9ac8b4

@ -71,13 +71,12 @@ const handleSessionItemClick = async (conversation: V2NIMConversation) => {
flag = true;
await uni.$UIKitStore.uiStore.selectConversation(conversation.conversationId);
console.log("handleSessionItemClick", conversation);
const itemUserInfo = await uni.$UIKitStore.userStore.getUserActive(conversation.conversationId.split('|')[2])
let _title = '';
if(itemUserInfo.serverExtension){
_title = '@' + JSON.parse(itemUserInfo.serverExtension).fullName;
_title = itemUserInfo.name + '@' + JSON.parse(itemUserInfo.serverExtension).fullName;
}else{
_title = '';
_title = itemUserInfo.name;
}
customNavigateTo({
url: "/pages/Chat/index?ctitle=" + _title,

@ -375,9 +375,6 @@ const setNavTitle = () => {
const subTitle = `(${team?.memberCount || 0})`;
title.value = (team?.name || "") + subTitle;
}
uni.setNavigationBarTitle({
title: title.value,
});
};
onShow(function () {
@ -401,7 +398,7 @@ onLoad((options) => {
uni.$on(events.HANDLE_MOVE_THROUGH, (flag) => {
moveThrough.value = flag;
});
console.log("options聊天", options);
uni.setNavigationBarTitle({
title: options.ctitle,
});

Loading…
Cancel
Save