diff --git a/frontend/src/features/chats/views/ChatView.vue b/frontend/src/features/chats/views/ChatView.vue index 8fb0e09..f5e90ab 100644 --- a/frontend/src/features/chats/views/ChatView.vue +++ b/frontend/src/features/chats/views/ChatView.vue @@ -35,7 +35,7 @@ const canSend = computed(() => content.value.trim() !== '' || attachments.value. const memberText = computed(() => { const participants = conversation.value?.participants || [] if (participants.length === 0) return conversation.value?.type === 'general_support' ? '平台客服' : '订单群聊' - return participants.map(item => roleLabel(item.role)).join(' · ') + return participants.map(item => `${roleLabel(item.role)}:${item.display_name}`).join(' / ') }) function handleSSEEvent(event: ChatEvent) { diff --git a/frontend/src/features/chats/views/MobileChatView.vue b/frontend/src/features/chats/views/MobileChatView.vue index 737b6d0..dcf8a22 100644 --- a/frontend/src/features/chats/views/MobileChatView.vue +++ b/frontend/src/features/chats/views/MobileChatView.vue @@ -34,7 +34,7 @@ const canSend = computed(() => content.value.trim() !== '' || attachments.value. const memberText = computed(() => { const participants = conversation.value?.participants || [] if (participants.length === 0) return conversation.value?.type === 'general_support' ? '平台客服' : '订单群聊' - return participants.map(item => roleLabel(item.role)).join(' · ') + return participants.map(item => `${roleLabel(item.role)}:${item.display_name}`).join(' / ') }) function handleSSEEvent(event: ChatEvent) {