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

大屏修改

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