fix(仪表板): 修复移动端部分查询组件悬浮移位问题 (#16541)

This commit is contained in:
王嘉豪
2025-07-22 13:20:21 +08:00
committed by wangjiahao
parent fce298124a
commit 753c46ca65
2 changed files with 2 additions and 0 deletions

View File

@@ -383,6 +383,7 @@ const freezeFlag = computed(() => {
return (
isMainCanvas(props.canvasId) &&
config.value.freeze &&
!isMobile() &&
scrollMain.value - config.value.style?.top > 0
)
})

View File

@@ -337,6 +337,7 @@ const freezeFlag = computed(() => {
return (
isMainCanvas(canvasId.value) &&
element.value.freeze &&
!mobileInPc.value &&
mainScrollTop.value - defaultStyle.value.top > 0
)
})