优化UI,修复群BUG

This commit is contained in:
cbb
2026-01-24 16:49:47 +08:00
parent c508b1fcb4
commit a55a1593bb
11 changed files with 555 additions and 445 deletions

View File

@@ -12,7 +12,7 @@
:class="['tui-chat', !isPC && 'tui-chat-h5']"
>
<ChatHeader
:isGroup="isGroup"
:isGroup="!isNotInGroup ? isGroup : null"
:headerExtensionList="headerExtensionList"
:serviceID="serviceID"
@closeChat="closeChat"
@@ -287,7 +287,6 @@
}
function onCurrentConversationUpdate(conversation: IConversationModel) {
updateUIUserNotInGroup(conversation)
// return when currentConversation is null
if (!conversation) {

View File

@@ -56,7 +56,7 @@
item.type === TYPES.MSG_GRP_TIP ||
isCreateGroupCustomMessage(item)
"
:content="item.getMessageContent()"
:content="item"
/>
<div
v-else-if="!item.isRevoked && !isPluginMessage(item)"

View File

@@ -12,7 +12,7 @@ const props = defineProps({
default: () => ({}),
},
});
const tipContent = computed(() => props.content?.text || props.content?.custom || '');
const tipContent = computed(() => `${props.content.nick || props.content.from} 创建群聊`);
</script>
<style lang="scss" scoped>
@import "../../../../assets/styles/common";