zhengnaiwen_citu 5 tháng trước cách đây
mục cha
commit
c36f78b24f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/humanResources/organizationStructure/index.vue

+ 1 - 1
src/views/humanResources/organizationStructure/index.vue

@@ -190,7 +190,7 @@ export default {
         width,
         height
       }
-      const { x, y } = e
+      const { clientX: x, clientY: y } = e
       content.x = x
       content.y = y
       contextMenu.style.left = x - left + 'px'