在手动调用close函数时,onClose事件似乎有问题。
调用弹出窗口
$('#messageBoxPopup').bPopup({
easing: 'easeOutBack',
speed: 450,
onClose: function () {
alert('clear');
$('#messageBoxContent').html('');
}
});关闭弹出窗口
$('#messageBoxPopup').bPopup().close();发布于 2020-12-04 13:44:23
$('#messageBoxPopup').bPopup().close();对我来说工作正常,请检查bpopup的所有js依赖项
https://stackoverflow.com/questions/36876520
复制相似问题