coolcare-lite-scada-component 2.0.30 → 2.0.31

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.
@@ -65,7 +65,10 @@ var EleSwitchComponent = function EleSwitchComponent(_ref) {
65
65
  }
66
66
  }, [pointData === null || pointData === void 0 ? void 0 : pointData.value, payload === null || payload === void 0 ? void 0 : payload.checkedValue]);
67
67
  return /*#__PURE__*/React.createElement("div", {
68
- className: styles.wrap
68
+ className: styles.wrap,
69
+ onClick: function onClick(e) {
70
+ return e.stopPropagation();
71
+ }
69
72
  }, /*#__PURE__*/React.createElement(Tooltip, {
70
73
  title: tooltipTitle
71
74
  }, /*#__PURE__*/React.createElement(Switch, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coolcare-lite-scada-component",
3
- "version": "2.0.30",
3
+ "version": "2.0.31",
4
4
  "scripts": {
5
5
  "start": "umi dev",
6
6
  "build:prod": "UMI_ENV=prod umi build",