Element: 跨组件嵌套打开el-dialog,导致遮罩层无法正常关闭

Created on 21 Sep 2017  ·  1Comment  ·  Source: ElemeFE/element

描述步骤:
下面定义了入口页,与组件页。当在入口页设置弹出窗口为true,然后在组件页中,点击按钮设置弹出窗口二为true时,点击弹出窗口二的X(Close)时,遮罩层就出现异常了。
1、入口页(index.vue),打开一个el-dialog
:modal-append-to-body="false" :close-on-click-modal="false">


2、组件页(YxDemo.vue)
:modal-append-to-body="false" :close-on-click-modal="false">

请问组件页是需要额外将哪些事件抛出?还是说是组件BUG
this.$emit('update:visible', false);
this.$emit('visible-change', false);

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yuchonghua picture yuchonghua  ·  3Comments

no5no6 picture no5no6  ·  3Comments

yubo111 picture yubo111  ·  3Comments

gengxuelei picture gengxuelei  ·  3Comments

FranzSkuffka picture FranzSkuffka  ·  3Comments