liuyu 4 anni fa
parent
commit
e8aaa539cc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/live/roomDetail.vue

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

@@ -530,7 +530,7 @@ export default {
     async initclient() {
     async initclient() {
       this.userId_ = this.user.uid;
       this.userId_ = this.user.uid;
       const _userid = 'meetu-' + this.userId_;
       const _userid = 'meetu-' + this.userId_;
-      const res = await this.gensignFetch({ userid: this.userId_ });
+      const res = await this.gensignFetch({ userid: _userid });
       if (this.$checkRes(res)) {
       if (this.$checkRes(res)) {
         this.client_ = TRTC.createClient({
         this.client_ = TRTC.createClient({
           mode: 'live',
           mode: 'live',