From 80476fae71f08bf4408c7509eff254031a4eeac6 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 24 Aug 2022 18:47:09 +0800 Subject: [PATCH] 路由修正,常量提取 --- src/components/group/MyVideo.vue | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/group/MyVideo.vue b/src/components/group/MyVideo.vue index 9b57872..dd11d19 100644 --- a/src/components/group/MyVideo.vue +++ b/src/components/group/MyVideo.vue @@ -1,7 +1,7 @@ <template> <div class="myModal"> - <a-modal v-model="visible" title="视频盒子" :width="myWidth" :footer="null" :mask="false" :maskClosable="true" - :bodyStyle="{'overflow':'overlay','height': '700px'}" :afterClose="afterClose"> + <a-modal v-drag-modal v-model="visible" title="视频盒子" :width="myWidth" :footer="null" :mask="false" + :maskClosable="true" :bodyStyle="{'overflow':'overlay','height': '700px'}" :afterClose="afterClose"> <videoDetail ref="videoDetail" :showFade="showFade"></videoDetail> </a-modal> </div> @@ -77,15 +77,12 @@ afterClose() { //关闭视频播放 this.$refs.videoDetail.$refs.videoPlayBox.pauseMyVideo() - + this.$emit("closeMyVideo") } }, } </script> -<style scoped> - - - - +<style lang="less"> + </style> -- Gitblit v1.9.1