liuyu 5 năm trước cách đây
mục cha
commit
ca081b5dd1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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({