This commit is contained in:
西瓜°
2026-02-17 17:56:15 +08:00
parent f81d25cc4d
commit 4d6f54e9eb
6 changed files with 23 additions and 25 deletions
+2 -3
View File
@@ -66,10 +66,9 @@ export default defineComponent({
)
const dropdownStyle = computed<CSSProperties>(() => {
const zoom = parseFloat(getComputedStyle(document.body).zoom) || 1
return {
left: `${dropdownPosition.x / zoom}px`,
top: `${dropdownPosition.y / zoom}px`,
left: `${dropdownPosition.x}px`,
top: `${dropdownPosition.y}px`,
visibility: isShow.value ? 'visible' : 'hidden',
}
})