liuyu 5 年之前
父節點
當前提交
1345b98443
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      src/views/live/roomDetail.vue

+ 8 - 0
src/views/live/roomDetail.vue

@@ -358,7 +358,15 @@ export default {
       let body = _.get(message, 'body');
       if (body) {
         body = JSON.parse(body);
+        this.$message({
+          message: body.userid,
+          type: 'success',
+        });
         if (body.userid === this.user.uid) {
+          this.$message({
+            message: 'uu--' + this.user.uid,
+            type: 'success',
+          });
           this.swichposition(body.userid);
         }
       }