Commit 198abd75 by pangchong

feat: 修复

parent 426baedd
...@@ -24,15 +24,15 @@ ...@@ -24,15 +24,15 @@
<span class="text-xs ml-1 text-theme-text1">主持人</span> <span class="text-xs ml-1 text-theme-text1">主持人</span>
</div> </div>
</div> </div>
</template>
<div class="absolute w-full h-full flex-center" v-else>
<div v-if="userDataForThis.calling" class="absolute top-0 left-0 right-0 bottom-0 flex-center flex-col"> <div v-if="userDataForThis.calling" class="absolute top-0 left-0 right-0 bottom-0 flex-center flex-col">
<div class="text-base text-theme-text1">呼叫中...</div> <div class="text-base text-theme-text1">呼叫中...</div>
<a-button shape="circle" status="danger" type="primary" @click.stop="cancelCallExact"> <a-button shape="circle" status="danger" type="primary" @click.stop="cancelCallExact">
<global-icon :size="20" color="var(--color-bg-white)" icon="phone-hangup"></global-icon> <global-icon :size="20" color="var(--color-bg-white)" icon="phone-hangup"></global-icon>
</a-button> </a-button>
</div> </div>
</template> <video-loader v-else></video-loader>
<div class="absolute w-full h-full flex-center" v-else>
<video-loader></video-loader>
</div> </div>
</div> </div>
</template> </template>
...@@ -97,8 +97,12 @@ onUpdated(function () { ...@@ -97,8 +97,12 @@ onUpdated(function () {
}) })
onUnmounted(() => { onUnmounted(() => {
observer.disconnect() // 停止监听 observer.disconnect() // 停止监听
observer = null; observer = null
}) })
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
:deep([data-self='vc'] video),
:deep(.agora_video_player) {
transform: none !important;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment