liuyu 4 năm trước cách đây
mục cha
commit
b1963b4084
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  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) {