wangsisi пре 1 недеља
родитељ
комит
a9137c0c7d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/chatWindow.vue

+ 1 - 1
src/components/chatWindow.vue

@@ -479,7 +479,7 @@ const initMqtt = () => {
                             console.error(e, "e");
                         }
                     }
-                }else{
+                }else if(obj.messageType !== 'text'){
                     obj.content = JSON.parse(obj.content);
                 }
                 obj.receiverId = curUserId;