From 0dd41bd8cee430d3a948b89c664cb511c400993c Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Fri, 12 Aug 2022 19:11:46 +0800
Subject: [PATCH] 新增链接添加按钮,优化Dplayer播放

---
 src/components/group/MyVideo.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/components/group/MyVideo.vue b/src/components/group/MyVideo.vue
index 4efcec7..17fc80c 100644
--- a/src/components/group/MyVideo.vue
+++ b/src/components/group/MyVideo.vue
@@ -1,11 +1,10 @@
 <template>
 	<div class="myModal">
 		<a-modal v-model="visible" title="视频盒子" :footer="null" :mask="false" :maskClosable="true"
-			:bodyStyle="{'overflow':'overlay','maxHeight': '750px'}">
+			:bodyStyle="{'overflow':'overlay','maxHeight': '750px'}" :afterClose="afterClose">
 			<videoDetail ref="videoDetail"></videoDetail>
 		</a-modal>
 	</div>
-
 </template>
 
 <script>
@@ -49,7 +48,9 @@
 			handleCancel(e) {
 				this.visible = false;
 			},
-
+			afterClose() {
+				this.$emit("closeMyVideo")
+			}
 		},
 	}
 </script>

--
Gitblit v1.9.1