<Modal
v-model="materialModal"
fullscreen
:closable="false"
footer-hide
class="maskParent"
oncontextmenu="return false"
>
<RecordingCourse
v-if="materialModal" @sonBool="parentBool"
></RecordingCourse>
</Modal>
parentBool(){
this.materialModal=false
},
模态组件中加关闭按钮加点击事件close
close() {
this.$emit('sonBool')
},
.maskParent {
.ivu-modal-content {
background-color: #333;
}
}