liuyu il y a 5 ans
Parent
commit
b1963b4084
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  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) {