更新时间:2023-01-04 19:41:28
对于仅包含文本的按钮:
For buttons containing text only:
$('body').on('click', function (e) {
//did not click a popover toggle or popover
if ($(e.target).data('toggle') !== 'popover'
&& $(e.target).parents('.popover.in').length === 0) {
$('[data-toggle="popover"]').popover('hide');
}
});
检查 *** 链接 输入链接描述在这里
check the *** link enter link description here