From cc61ed4a074dbf4ef2218618b05270514f045e4a Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 16 十月 2020 14:57:10 +0800 Subject: [PATCH] 去除lombok框架 --- web_src/src/components/gb28181/devicePlayer.vue | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git a/web_src/src/components/gb28181/devicePlayer.vue b/web_src/src/components/gb28181/devicePlayer.vue index 9e497e4..ce36483 100644 --- a/web_src/src/components/gb28181/devicePlayer.vue +++ b/web_src/src/components/gb28181/devicePlayer.vue @@ -1,6 +1,6 @@ <template> <div id="devicePlayer"> - <el-dialog title="瑙嗛鎾斁" top="0" :visible.sync="showVideoDialog" :destroy-on-close="true" @close="stop()"> + <el-dialog title="瑙嗛鎾斁" top="0" :visible.sync="showVideoDialog" :destroy-on-close="true" @close="close()"> <LivePlayer v-if="showVideoDialog" ref="videoPlayer" :videoUrl="videoUrl" :error="videoError" :hasaudio="hasaudio" fluent autoplay live ></LivePlayer> <div id="shared" style="text-align: right; margin-top: 1rem;"> <el-tabs v-model="tabActiveName"> @@ -145,24 +145,11 @@ this.showVideoDialog = true; console.log(this.ssrc); }, - stop: function() { + close: function() { console.log('鍏抽棴瑙嗛'); this.$refs.videoPlayer.pause(); this.videoUrl = ''; this.showVideoDialog = false; - this.$axios({ - method: 'post', - url: '/api/play/' + this.ssrc + '/stop' - }).then(function(res) { - console.log(JSON.stringify(res)); - }); - - this.$axios({ - method: 'post', - url: '/api/playback/' + this.ssrc + '/stop' - }).then(function(res) { - console.log(JSON.stringify(res)); - }); }, copySharedInfo: function(data) { console.log('澶嶅埗鍐呭锛�' + data); -- Gitblit v1.8.0