liuyu 4 years ago
parent
commit
b1963b4084
1 changed files with 1 additions and 3 deletions
  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) {