@flexem/fc-gui 3.0.0-alpha.72 → 3.0.0-alpha.73

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
@@ -314,4 +314,9 @@
314
314
  ## 3.0.0-alpha.72(2023-03-13)
315
315
  ### Web端
316
316
  #### Bug Fix
317
- 1. 修改设备告警的订阅事件
317
+ 1. 修改设备告警的订阅事件
318
+
319
+ ## 3.0.0-alpha.73(2023-03-13)
320
+ ### Web端
321
+ #### Bug Fix
322
+ 1. 解决当前告警当第二页的报警恢复后,无告警时,翻页未自动翻到第一页的问题
@@ -40133,6 +40133,11 @@ class alarm_element_AlarmElement extends conditional_display_element_Conditional
40133
40133
  if (!result.error) {
40134
40134
  this.totalCount = result.totalCount;
40135
40135
  this.currentAlarmList = result.items;
40136
+ if (!result.items.length && result.totalCount) {
40137
+ this.page = 0;
40138
+ this.init();
40139
+ return;
40140
+ }
40136
40141
  this.alarmList = this.currentAlarmList.map(item => [
40137
40142
  item.name,
40138
40143
  item.message,