Commit 2be5f514 authored by 张伯涛's avatar 张伯涛

大屏修改

parent f1f743a5
......@@ -489,7 +489,7 @@ import AMapLoader from "@amap/amap-jsapi-loader";
<!-- 时间轴容器 -->
<div ref="timeline" style="width: 100%; height: 25px;"></div>
</div>
<div class="details-item">
<div class="details-item" v-show="waveformLoading === false">
<span>音频:</span>
<audio ref="audioPlayer" controls></audio>
<!-- <button @click="playAudio">获取音频</button>-->
......@@ -3391,7 +3391,7 @@ export default defineComponent({
this.audioStatus = false
this.waveformLoading = false
})
},
},
/** 播放区域*/
playAudioRegion() {
let region = Object.values(this.wavesurfer.regions.list)[0];
......@@ -3442,6 +3442,12 @@ export default defineComponent({
myChart.dispose()
this.echartInitPiping();
}
}else {
if (document.querySelector("#secondLeftLayerP2")) {
var chartDom = document.getElementById("secondLeftLayerP2");
var myChart = echarts.init(chartDom);
myChart.dispose()
}
}
}
})
......
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