董国庆
2026-06-30 70b96ee7227cd07795641ab0123f8bfe075605b0
修改hover的偏移量
2个文件已修改
8 ■■■■■ 已修改文件
src/views/businessOperations/operationWorkbench/map.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/testDemo/operationWorkbench/map.vue 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/businessOperations/operationWorkbench/map.vue
@@ -2098,8 +2098,8 @@
  if (!container)
    return false
  const offsetX = 12
  const offsetY = 18
  const offsetX = 1
  const offsetY = 7
  const rawX = Number(pixel.x) + offsetX
  const rawY = Number(pixel.y) - offsetY
  const clampedX = Math.max(12, Math.min(rawX, container.clientWidth - 12))
src/views/testDemo/operationWorkbench/map.vue
@@ -1613,8 +1613,8 @@
    return false
  const tooltipWidth = 88
  const offsetX = 12
  const offsetY = 18
  const offsetX = 1
  const offsetY = 7
  const rawX = Number(pixel.x) + offsetX
  const rawY = Number(pixel.y) - offsetY
  const clampedX = Math.max(12, Math.min(rawX, container.clientWidth - 12))