$('#btn').on('click', function() {
BootstrapDialog.show({
title: '112',
onshown: function() {
console.log(1);
// When popping up, multiple popups appear when you press a space
// Any button seems to produce this effect
}
});
setTimeout(function() {
BootstrapDialog.show({
title: '112',
onshown: function() {
console.log(1);
// When popping up, multiple popups appear when you press a space
// Any button seems to produce this effect
}
},1000);
});
<head>
</head>
<input id="btn" type="button" value="点击">