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

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

@@ -147,7 +147,7 @@ export default {
       client_: null,
       localStream_: null,
       sdkAppId_: '1400380125',
-      userId_: '123123',
+      userId_: '',
       roomInfos: {},
       sendmemo: '',
       total: 0,
@@ -494,7 +494,7 @@ export default {
       console.log(this.sendmemo);
     },
     async initclient() {
-      // this.userId_ = this.user.uid;
+      this.userId_ = this.user.uid;
       const res = await this.gensignFetch({ userid: this.userId_ });
       if (this.$checkRes(res)) {
         this.client_ = TRTC.createClient({