优化UI,修复群BUG
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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)"
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user