@flexem/fc-gui 3.0.0-alpha.64 → 3.0.0-alpha.65
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.
- package/CHANGELOG.md +7 -1
- package/bundles/@flexem/fc-gui.umd.js +4 -4
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/air-quality/air-quality-element.js +2 -2
- package/elements/weather/weater-element.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -262,4 +262,10 @@
|
|
|
262
262
|
### Web端
|
|
263
263
|
#### Bug Fix
|
|
264
264
|
1. FLEXCLOUD-2487: 【线上问题】数据库连接池占满导致无响应的问题
|
|
265
|
-
- 天气元件和空气质量元件取数据时如果发现没有位置信息,会添加一个定时器再请求数据。但是定时器没有清理,现在给定时器加上了清理
|
|
265
|
+
- 天气元件和空气质量元件取数据时如果发现没有位置信息,会添加一个定时器再请求数据。但是定时器没有清理,现在给定时器加上了清理
|
|
266
|
+
|
|
267
|
+
## 3.0.0-alpha.65(2023-03-01)
|
|
268
|
+
### Web端
|
|
269
|
+
#### Bug Fix
|
|
270
|
+
1. FLEXCLOUD-2487: 【线上问题】数据库连接池占满导致无响应的问题
|
|
271
|
+
- 修改清除定时器的方法
|
|
@@ -39607,7 +39607,7 @@ class weater_element_WeatherElement extends conditional_display_element_Conditio
|
|
|
39607
39607
|
}
|
|
39608
39608
|
dispose() {
|
|
39609
39609
|
clearInterval(this.timer);
|
|
39610
|
-
|
|
39610
|
+
clearTimeout(this.gettingAddressTimer);
|
|
39611
39611
|
}
|
|
39612
39612
|
initWeatherInfo() {
|
|
39613
39613
|
this.clear();
|
|
@@ -39639,7 +39639,7 @@ class weater_element_WeatherElement extends conditional_display_element_Conditio
|
|
|
39639
39639
|
}
|
|
39640
39640
|
handleGettingAddress() {
|
|
39641
39641
|
this.handleUnusualCommon(this.localization.weatherNotAvailable);
|
|
39642
|
-
|
|
39642
|
+
clearTimeout(this.gettingAddressTimer);
|
|
39643
39643
|
this.gettingAddressTimer = setTimeout(() => this.initWeatherInfo(), 1000 * 60);
|
|
39644
39644
|
}
|
|
39645
39645
|
handleNoAddress() {
|
|
@@ -39846,7 +39846,7 @@ class air_quality_element_AirQualityElement extends conditional_display_element_
|
|
|
39846
39846
|
}
|
|
39847
39847
|
dispose() {
|
|
39848
39848
|
clearInterval(this.timer);
|
|
39849
|
-
|
|
39849
|
+
clearTimeout(this.gettingAddressTimer);
|
|
39850
39850
|
}
|
|
39851
39851
|
initAirQualityInfo() {
|
|
39852
39852
|
this.clear();
|
|
@@ -39898,7 +39898,7 @@ class air_quality_element_AirQualityElement extends conditional_display_element_
|
|
|
39898
39898
|
}
|
|
39899
39899
|
handleGettingAddress() {
|
|
39900
39900
|
this.handleUnusualCommon(this.localization.airQualityNotAvailable);
|
|
39901
|
-
|
|
39901
|
+
clearTimeout(this.gettingAddressTimer);
|
|
39902
39902
|
this.gettingAddressTimer = setTimeout(() => this.initAirQualityInfo(), 1000 * 60);
|
|
39903
39903
|
}
|
|
39904
39904
|
handleNoAddress() {
|