liuyu 5 年之前
父节点
当前提交
b1963b4084
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/views/live/roomDetail.vue

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

@@ -364,9 +364,7 @@ export default {
       console.log(this.user.uid);
       if (body) {
         body = JSON.parse(body);
-        if (body.shmaiid === this.user.uid) {
-          this.swichposition(body.shmaiid);
-        }
+        this.swichposition(body.shmaiid);
       }
     },
     onOtheMessage(message) {