312
This commit is contained in:
parent
3ed4da7571
commit
bca4397d01
File diff suppressed because it is too large
Load Diff
|
|
@ -630,6 +630,18 @@
|
|||
const confirmDialog = bootstrap.Modal.getInstance(document.getElementById('callConfirmDialog'));
|
||||
if (confirmDialog) {
|
||||
confirmDialog.hide();
|
||||
// 添加以下代码来移除背景遮罩
|
||||
setTimeout(() => {
|
||||
const backdrop = document.querySelector('.modal-backdrop');
|
||||
if (backdrop) {
|
||||
backdrop.remove();
|
||||
}
|
||||
// 或者还需要移除body上的class
|
||||
document.body.classList.remove('modal-open');
|
||||
document.body.style.overflow = '';
|
||||
document.body.style.paddingRight = '';
|
||||
}, 150); // 给一点延迟,确保模态框动画完成
|
||||
log("通话确认,关闭确认对话框");
|
||||
}
|
||||
// 刷新监控列表
|
||||
loadMonitorTextList();
|
||||
|
|
|
|||
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user