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>