@flexem/fc-gui 3.0.0-alpha.63 → 3.0.0-alpha.64

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 CHANGED
@@ -256,4 +256,10 @@
256
256
  ### Web端
257
257
  #### Bug Fix
258
258
  1. FLEXCLOUD-2429: 【氚云20221201000360】组态界面增加报警列表显示
259
- - 修改告警的订阅模式
259
+ - 修改告警的订阅模式
260
+
261
+ ## 3.0.0-alpha.64(2023-03-01)
262
+ ### Web端
263
+ #### Bug Fix
264
+ 1. FLEXCLOUD-2487: 【线上问题】数据库连接池占满导致无响应的问题
265
+ - 天气元件和空气质量元件取数据时如果发现没有位置信息,会添加一个定时器再请求数据。但是定时器没有清理,现在给定时器加上了清理
@@ -39607,6 +39607,7 @@ class weater_element_WeatherElement extends conditional_display_element_Conditio
39607
39607
  }
39608
39608
  dispose() {
39609
39609
  clearInterval(this.timer);
39610
+ clearInterval(this.gettingAddressTimer);
39610
39611
  }
39611
39612
  initWeatherInfo() {
39612
39613
  this.clear();
@@ -39638,7 +39639,8 @@ class weater_element_WeatherElement extends conditional_display_element_Conditio
39638
39639
  }
39639
39640
  handleGettingAddress() {
39640
39641
  this.handleUnusualCommon(this.localization.weatherNotAvailable);
39641
- setTimeout(() => this.initWeatherInfo(), 1000 * 60);
39642
+ clearInterval(this.gettingAddressTimer);
39643
+ this.gettingAddressTimer = setTimeout(() => this.initWeatherInfo(), 1000 * 60);
39642
39644
  }
39643
39645
  handleNoAddress() {
39644
39646
  this.handleUnusualCommon(this.localization.weatherNotAddress);
@@ -39844,6 +39846,7 @@ class air_quality_element_AirQualityElement extends conditional_display_element_
39844
39846
  }
39845
39847
  dispose() {
39846
39848
  clearInterval(this.timer);
39849
+ clearInterval(this.gettingAddressTimer);
39847
39850
  }
39848
39851
  initAirQualityInfo() {
39849
39852
  this.clear();
@@ -39895,7 +39898,8 @@ class air_quality_element_AirQualityElement extends conditional_display_element_
39895
39898
  }
39896
39899
  handleGettingAddress() {
39897
39900
  this.handleUnusualCommon(this.localization.airQualityNotAvailable);
39898
- setTimeout(() => this.initAirQualityInfo(), 1000 * 60);
39901
+ clearInterval(this.gettingAddressTimer);
39902
+ this.gettingAddressTimer = setTimeout(() => this.initAirQualityInfo(), 1000 * 60);
39899
39903
  }
39900
39904
  handleNoAddress() {
39901
39905
  this.handleUnusualCommon(this.localization.airQualityNotAddress);