liuyu 4 vuotta sitten
vanhempi
commit
8e7b8ce540
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      src/views/live/roomMeet.vue

+ 3 - 1
src/views/live/roomMeet.vue

@@ -77,6 +77,7 @@ Vue.use(Lazyload);
 const { mapActions: gensign } = createNamespacedHelpers('gensign');
 const { mapActions: room } = createNamespacedHelpers('room');
 const { mapActions: chat } = createNamespacedHelpers('chat');
+
 export default {
   name: 'roomsDetail',
   props: {},
@@ -125,7 +126,8 @@ export default {
       data.sendname = this.user.name;
       const res = await this.create(data);
       if (this.$checkRes(res)) {
-        console.log(res.data);
+        this.$message('发送成功');
+        this.content = '';
       }
     },
     channel() {