bootstrap的modal 1上弹出modal 2,或者modal 1上弹出一个iview的确认框;
```
<script>
setModalsAndBackdropsOrder:function() {
var modalZIndex = 1040;
$('.modal.in').each(function(index) {
var $modal = $(this);
modalZIndex++;
$modal.css('zIndex', modalZIndex);
$modal.next('.modal-backdrop.in').addClass('hidden').css('zIndex', modalZIndex - 1);
});
$('.modal.in:visible:last').focus().next('.modal-backdrop.in').removeClass('hidden');
}
</script>
```
借鉴1自:https://blog.csdn.net/k358971707/article/details/71908862?utm_source=blogxgwz2
借鉴2自: