let publishModal = "open";
$('#publishModal').on('show.bs.modal', function (e) {
//显示立马触发
publishModal = null;
})
$('#publishModal').on('shown.bs.modal ', function (e) {
//立马触发
publishModal = "opend";
})
$('#publishModal').on('hide.bs.modal', function (e) {
//立马触发
publishModal = null;
})
$('#publishMod
bootstrap3模态框重复解决方案
最新推荐文章于 2022-01-25 10:58:02 发布
本文提出了一种解决Bootstrap3模态框重复出现的方案,探讨了替代选项,如使用sweetalert来呈现HTML内容,以实现类似模态框的效果。
摘要由CSDN通过智能技术生成