Kaynağa Gözat

修复选择摄像头问题

warrior 1 ay önce
ebeveyn
işleme
981e417114

+ 1 - 1
projects/live-app/src/services/live.service.ts

@@ -358,7 +358,7 @@ export class LiveService {
           }
           console.log(this.router.url);
           if (this.router.url.indexOf('/live/link-room/') == 0 && curState == 'DISCONNECTED'){
-            localStorage.setItem('isLive', null);
+            localStorage.removeItem("isLive")
             history.back();
           }
         }