coolcare-lite-scada-component 1.0.61 → 1.0.62
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,7 +82,12 @@ 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
|
-
|
|
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 {
|
|
89
|
+
e.stopPropagation();
|
|
90
|
+
}
|
|
86
91
|
},
|
|
87
92
|
onContextMenu: function onContextMenu(e) {
|
|
88
93
|
return eventHandles.current.onContextMenu(e);
|
|
@@ -586,7 +586,6 @@ var Player = function Player(_ref) {
|
|
|
586
586
|
var valueDate = _toConsumableArray(new Set(virtual.map(function (item) {
|
|
587
587
|
return item.data.valueDate;
|
|
588
588
|
})));
|
|
589
|
-
debugger;
|
|
590
589
|
dataType.forEach(function (type) {
|
|
591
590
|
valueDate.forEach(function (date) {
|
|
592
591
|
var ids = virtual.filter(function (item) {
|