fix: 修复大屏样式模板应用后快捷键不生效问题

This commit is contained in:
wangjiahao
2025-04-08 20:47:07 +08:00
committed by 王嘉豪
parent c9dc8957c7
commit dbca47fcef

View File

@@ -88,7 +88,10 @@ const checkDialog = () => {
}
})
document.querySelectorAll('.ed-popper').forEach(element => {
if (window.getComputedStyle(element).getPropertyValue('display') != 'none') {
if (
!element.classList?.contains('template-popper-tips') &&
window.getComputedStyle(element).getPropertyValue('display') != 'none'
) {
haveDialog = true
}
})