fix: 快捷键增加el-popover的弹框监控,防止el-popover内部操作影响大屏快捷键

This commit is contained in:
wangjiahao 2023-10-25 15:45:41 +08:00
parent 8483fd828f
commit 4ae936859f

View File

@ -83,6 +83,11 @@ const checkDialog = () => {
haveDialog = true
}
})
document.querySelectorAll('.ed-popover').forEach(element => {
if (window.getComputedStyle(element).getPropertyValue('display') != 'none') {
haveDialog = true
}
})
// 富文本单框
if (document.querySelector('.tox-dialog-wrap')) {
haveDialog = true