forked from github/dataease
Merge pull request #6360 from dataease/pr@dev-v2@fix_proper-watch
fix: 快捷键增加el-popover的弹框监控,防止el-popover内部操作影响大屏快捷键
This commit is contained in:
commit
4a422b3b63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user