Element UI 嵌套 Dialog 无法显示解决方案
在嵌套的`el-dialog`中,需要将`showAccountDialog`绑定到`visible.sync`属性上,这样点击事件才会生效。请修改代码如下:
<el-dialog :visible.sync='showAccountDialog' title='创建超级账套'>
<!-- Dialog content here -->
谈撒发发
</el-dialog>
这样就可以通过修改`showAccountDialog`的值来控制嵌套的对话框的显示和隐藏了。
原文地址: https://www.cveoy.top/t/topic/jMOL 著作权归作者所有。请勿转载和采集!