修复WebSocket消息接收问题:更新前端订阅路径以匹配后端推送路径
This commit is contained in:
@@ -62,6 +62,8 @@
|
||||
<!-- 聊天消息区域 -->
|
||||
<main class="chat-main" ref="chatMainRef">
|
||||
<div class="messages-container">
|
||||
|
||||
|
||||
<div
|
||||
v-for="message in chatStore.messages"
|
||||
:key="message.id"
|
||||
@@ -424,13 +426,14 @@
|
||||
|
||||
.message-wrapper {
|
||||
display: flex;
|
||||
|
||||
margin-bottom: $spacing-md;
|
||||
|
||||
&.user-message {
|
||||
justify-content: flex-end;
|
||||
|
||||
|
||||
.message-bubble {
|
||||
flex-direction: row-reverse;
|
||||
|
||||
|
||||
.message-content {
|
||||
background: $tech-blue;
|
||||
color: white;
|
||||
|
||||
Reference in New Issue
Block a user