wkw 1 月之前
父節點
當前提交
8df8dfbee6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/stores/modules/webSocketStore.js

+ 1 - 1
src/stores/modules/webSocketStore.js

@@ -337,7 +337,7 @@ export const useWebSocketStore = defineStore("webSocketStore", {
         to: this.toUserInfo.uuid,
         from: walletStore.account,
         ...messageData,
-        fromUsername: walletStore.username,
+        fromUsername: this.toUserInfo.nickname,
         avatar: walletStore.avatar,
         timestamp: Date.now(),
       };