lrf402788946 пре 4 година
родитељ
комит
8414a57d7f
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      src/views/achieveLive/detail/chatData.vue

+ 4 - 4
src/views/achieveLive/detail/chatData.vue

@@ -57,7 +57,9 @@ export default {
       text: '',
     };
   },
-  async created() {},
+  async created() {
+    this.search();
+  },
   async mounted() {
     this.channel();
   },
@@ -96,9 +98,7 @@ export default {
       let body = _.get(message, 'body');
       if (body) {
         body = JSON.parse(body);
-        console.log(body);
-        // this.talk.push(body);
-        // this.turnBottom();
+        this.list.push(body);
       }
     },
   },