coolcare-lite-scada-component 1.0.62 → 1.0.63

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.
@@ -82,11 +82,10 @@ var ElePointValueComponent = function ElePointValueComponent(_ref) {
82
82
  var numberColor = getValueByExpression(value, payload === null || payload === void 0 ? void 0 : payload.colorExpressions);
83
83
  return /*#__PURE__*/React.createElement("div", {
84
84
  onClick: function onClick(e) {
85
- debugger;
86
- if ((payload === null || payload === void 0 ? void 0 : payload.pointList.length) && (payload === null || payload === void 0 ? void 0 : payload.pointList[0].deviceType) === 'device') {
87
- eventHandles.current.onClick(e);
88
- } else {
85
+ if ((payload === null || payload === void 0 ? void 0 : payload.pointList.length) && (payload === null || payload === void 0 ? void 0 : payload.pointList[0].deviceType) === 'virtual') {
89
86
  e.stopPropagation();
87
+ } else {
88
+ eventHandles.current.onClick(e);
90
89
  }
91
90
  },
92
91
  onContextMenu: function onContextMenu(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coolcare-lite-scada-component",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "scripts": {
5
5
  "start": " PORT=8000 UMI_ENV=prod umi dev",
6
6
  "build:prod": "UMI_ENV=prod umi build",