From ad4e61d7e7bde642c0cfa35cc54d7b9e9a2eba03 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期一, 11 三月 2024 14:22:40 +0800
Subject: [PATCH] 修复页面开启音频失败

---
 web_src/src/components/common/jessibuca.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web_src/src/components/common/jessibuca.vue b/web_src/src/components/common/jessibuca.vue
index c3d3e67..3419bb5 100755
--- a/web_src/src/components/common/jessibuca.vue
+++ b/web_src/src/components/common/jessibuca.vue
@@ -1,6 +1,6 @@
 <template>
   <div ref="container" @dblclick="fullscreenSwich"
-       style="width:100%;height:100%;min-height: 200px;background-color: #000000;margin:0 auto;position: relative;">
+       style="width:100%;height:518px; min-height: 200px;background-color: #000000;margin:0 auto;position: relative;">
     <div class="buttons-box" id="buttonsBox">
       <div class="buttons-box-left">
         <i v-if="!playing" class="iconfont icon-play jessibuca-btn" @click="playBtnClick"></i>
@@ -46,7 +46,7 @@
     };
   },
   props: ['videoUrl', 'error', 'hasAudio', 'height'],
-  mounted() {
+  created() {
     let paramUrl = decodeURIComponent(this.$route.params.url)
     this.$nextTick(() => {
       this.updatePlayerDomSize()

--
Gitblit v1.8.0