coolcare-lite-scada-component 1.0.58 → 1.0.59
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.
|
@@ -121,7 +121,7 @@ var ElePointListCardComponent = function ElePointListCardComponent(_ref5) {
|
|
|
121
121
|
var eventHandler = function eventHandler(pointData) {
|
|
122
122
|
setPointList(function (prev) {
|
|
123
123
|
return prev.map(function (v) {
|
|
124
|
-
if (v.
|
|
124
|
+
if (v.pointId === point.pointId) {
|
|
125
125
|
return _objectSpread(_objectSpread({}, v), pointData);
|
|
126
126
|
}
|
|
127
127
|
return v;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coolcare-lite-scada-component",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.59",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"start": " PORT=8000 umi dev",
|
|
5
|
+
"start": " PORT=8000 UMI_ENV=prod umi dev",
|
|
6
6
|
"build:prod": "UMI_ENV=prod umi build",
|
|
7
7
|
"build:generalfushi": "UMI_ENV=prod REACT_APP_PLATFORM=generalfushi umi build",
|
|
8
8
|
"build:yimin": "UMI_ENV=prod REACT_APP_PLATFORM=yimin umi build",
|