@easyv/charts 1.8.21 → 1.8.22

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.
@@ -79,6 +79,7 @@ var _default = exports["default"] = function _default(_ref) {
79
79
  },
80
80
  fill: isShow ? color : "transparent",
81
81
  y: y,
82
- stroke: "none"
82
+ stroke: "none",
83
+ pointerEvents: "none" // 添加此属性实现事件穿透
83
84
  }) : "";
84
85
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/charts",
3
- "version": "1.8.21",
3
+ "version": "1.8.22",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -56,6 +56,7 @@ export default ({
56
56
  fill={isShow ? color : "transparent"}
57
57
  y={y}
58
58
  stroke="none"
59
+ pointerEvents="none" // 添加此属性实现事件穿透
59
60
  />
60
61
  ):"";
61
62
  };