我正在尝试将标签添加到我的模态体中。这是代码:
<div class="modal fade" id="detailsmodal" aria-hidden="true" style="display: none;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="details">Wipe følgende enheter</h4>
</div>
<div class="modal-body" id="detailsmodalBody">
<ul class="nav nav-tabs">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Messages</a></li>
</ul>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div
添加ul后我看不到模态。启动时,背景会变黑,但我看不到模态。
有什么想法吗?