iview如何控制父子弹窗的层级?

1、在 modal中设置:transfer=false,后面的弹框会覆盖前面的

   <Modal :transfer=false  v-model="showModal" width="900" :mask-closable="false" :footer-hide=true @on-cancel="cancel">
        <div class="ivu-modal-body">
  
        </div>
    </Modal>

猜你喜欢

转载自blog.csdn.net/OldStreet61/article/details/85618100