liuyu преди 4 години
родител
ревизия
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) {