描述步骤:
下面定义了入口页,与组件页。当在入口页设置弹出窗口为true,然后在组件页中,点击按钮设置弹出窗口二为true时,点击弹出窗口二的X(Close)时,遮罩层就出现异常了。
1、入口页(index.vue),打开一个el-dialog
2、组件页(YxDemo.vue)
请问组件页是需要额外将哪些事件抛出?还是说是组件BUG
this.$emit('update:visible', false);
this.$emit('visible-change', false);
Hello, this issue has been closed because it does not conform to our issue requirements. Please submit issues with issue-generator. More info can be found in #3693.