coolcare-lite-scada-component 1.0.2 → 1.0.3

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.
@@ -61,7 +61,7 @@ var EleDeviceNameComponent = function EleDeviceNameComponent(_ref) {
61
61
  console.error(err);
62
62
  },
63
63
  refreshDeps: [deviceId, fetchAble],
64
- pollingInterval: 2 * 60 * 1000
64
+ pollingInterval: 10 * 60 * 1000
65
65
  }),
66
66
  deviceInfo = _useRequest.data;
67
67
  var tooltipTitle = (deviceInfo === null || deviceInfo === void 0 ? void 0 : deviceInfo.deviceName) || '设备名称';
@@ -76,7 +76,7 @@ var EleDeviceStateComponent = function EleDeviceStateComponent(_ref) {
76
76
  console.error(err);
77
77
  },
78
78
  refreshDeps: [deviceId, fetchAble],
79
- pollingInterval: 2 * 60 * 1000
79
+ pollingInterval: 10 * 60 * 1000
80
80
  }),
81
81
  deviceInfo = _useRequest.data;
82
82
  var tooltipTitle = null;
@@ -62,7 +62,7 @@ var EleDeviceUpdateTimeComponent = function EleDeviceUpdateTimeComponent(_ref) {
62
62
  console.error(err);
63
63
  },
64
64
  refreshDeps: [deviceId, fetchAble],
65
- pollingInterval: 2 * 60 * 1000
65
+ pollingInterval: 10 * 60 * 1000
66
66
  }),
67
67
  deviceInfo = _useRequest.data;
68
68
  var tooltipTitle = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coolcare-lite-scada-component",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "scripts": {
5
5
  "start": "umi dev",
6
6
  "build:prod": "UMI_ENV=prod umi build",