liuyu 5 년 전
부모
커밋
e7e10da5fa
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 6
      src/views/live/roomDetail.vue

+ 2 - 6
src/views/live/roomDetail.vue

@@ -358,16 +358,12 @@ export default {
       let body = _.get(message, 'body');
       if (body) {
         body = JSON.parse(body);
-        this.$message({
-          message: body.userid,
-          type: 'success',
-        });
-        if (body.userid === this.user.uid) {
+        if (body.shmaiid === this.user.uid) {
           this.$message({
             message: 'uu--' + this.user.uid,
             type: 'success',
           });
-          this.swichposition(body.userid);
+          this.swichposition(body.shmaiid);
         }
       }
     },