Kaynağa Gözat

fix: 判断

shuisheng 2 yıl önce
ebeveyn
işleme
764703efbd
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/views/home/index.vue

+ 2 - 1
src/views/home/index.vue

@@ -19,10 +19,11 @@
         controls
       ></video>
       <div
-        v-if="currentLiveRoom && currentLiveRoom.system === 2"
+        v-if="currentLiveRoom"
         class="btn-wrap"
       >
         <div
+          v-if="currentLiveRoom.system === 2"
           class="btn webrtc"
           @click="joinRoom()"
         >