lh-ui-next 0.1.7-beta.35 → 0.1.7-beta.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,8 +4,8 @@
4
4
  alpha version is use to self-test; beta version is use to public survey.for example:
5
5
  1.0.0-alpha.1
6
6
  1.0.0-test.2
7
- ## Official version : "0.1.7-beta.35",
8
- ## test version : "0.1.7-beta.35",
7
+ ## Official version : "0.1.7-beta.36",
8
+ ## test version : "0.1.7-beta.36",
9
9
  ## npmmirror
10
10
  When cnpm sync execution is unsuccessful,you can go the website(http://www.npmmirror.com/package/lh-ui-next) and press sync button to
11
11
  manual trigger the sync event
@@ -2369,8 +2369,8 @@ const Qi = {
2369
2369
  return {
2370
2370
  myId: "",
2371
2371
  showIt: !1,
2372
- c: 0,
2373
- offsetY: 0
2372
+ X: 0,
2373
+ Y: 0
2374
2374
  };
2375
2375
  },
2376
2376
  props: {
@@ -2392,7 +2392,7 @@ const Qi = {
2392
2392
  });
2393
2393
  },
2394
2394
  handleContextMenu(e) {
2395
- e.preventDefault(), e.stopPropagation(), this.offsetX = e.offsetX, this.offsetY = e.offsetY;
2395
+ e.preventDefault(), e.stopPropagation(), this.X = e.clientX, this.Y = e.clientY;
2396
2396
  let t = document.getElementsByClassName("lh-context-menu");
2397
2397
  for (let i = 0; i < t.length; i++)
2398
2398
  t[i].classList.remove("right-active");
@@ -2417,7 +2417,7 @@ function el(e, t, i, s, l, n) {
2417
2417
  V(e.$slots, "reference"),
2418
2418
  h("div", {
2419
2419
  class: "menu-list",
2420
- style: S({ top: l.offsetY + "px", left: e.offsetX + "px" })
2420
+ style: S({ top: l.Y + "px", left: l.X + "px" })
2421
2421
  }, [
2422
2422
  V(e.$slots, "default")
2423
2423
  ], 4)