gpt4 book ai didi

javascript - Bootstrap 模态标题未显示 -::before::after

转载 作者:行者123 更新时间:2023-11-28 05:15:09 24 4
gpt4 key购买 nike

当我输入 $('#MesageModal').modal('show'); 时,模式的标题具有 ::before::after 周围的选择器使标题看起来很奇怪。谁能告诉我为什么会这样?

<div class="modal fade" id="MessageModal" style="display: none">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header>
<h4 class="modal-title"></h4>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>

最佳答案

$('#MesageModal').modal('show');

应该是

$('#MessageModal').modal('show');

关于javascript - Bootstrap 模态标题未显示 -::before::after,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41031346/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com