Kaynağa Gözat

修复指针问题

warrior 1 hafta önce
ebeveyn
işleme
ed42b9a08e

+ 1 - 2
projects/live-app/src/app/components/call-modal/call-modal.component.ts

@@ -63,7 +63,7 @@ export class CallModalComponent implements OnInit {
     query.equalTo('profile', this.profile?.id);
     query.notEqualTo('isDeleted', true);
     this.room = await query.first();
-    console.log(this.room);
+    // console.log(this.room);
     if (!this.room?.id) return;
     this.userStatus = await this.connectTask.getState(
       this.profile?.get('user').id,
@@ -132,7 +132,6 @@ export class CallModalComponent implements OnInit {
         this.isLiveing = true;
         let path = location.pathname;
         if (path.indexOf('/live/link-room/') != -1) return;
-        console.log(this.room);
         this.router.navigate(['live/link-room/' + this.room?.id]);
       }
     }, 100);