@flexem/fc-gui 3.0.0-alpha.68 → 3.0.0-alpha.69

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
@@ -293,4 +293,9 @@
293
293
  ### Web端
294
294
  #### Bug Fix
295
295
  1. FLEXCLOUD-2495 模板中添加未关联告警的告警表元件,导致不显示组态中配置的画面
296
- 2. FLEXCLOUD-2500 告警表配置当前报警,无数据时点击切换分页按钮,报错“您的请求无效!”
296
+ 2. FLEXCLOUD-2500 告警表配置当前报警,无数据时点击切换分页按钮,报错“您的请求无效!”
297
+
298
+ ## 3.0.0-alpha.69(2023-03-08)
299
+ ### Web端
300
+ #### Bug Fix
301
+ 1. FLEXCLOUD-2517 告警表配置历史告警、历史告警无法切换时间段
@@ -40177,6 +40177,7 @@ class alarm_element_AlarmElement extends conditional_display_element_Conditional
40177
40177
  }
40178
40178
  }
40179
40179
  renderElement() {
40180
+ this.rootElement.selectAll('*').remove();
40180
40181
  const elementHeight = this.model.size.height;
40181
40182
  this.element = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject');
40182
40183
  this.element.setAttribute('width', this.model.size.width.toString());
@@ -40203,7 +40204,7 @@ class alarm_element_AlarmElement extends conditional_display_element_Conditional
40203
40204
  vertical-align: middle;`;
40204
40205
  for (let i = 0; i < 4; i++) {
40205
40206
  const th = document.createElement('th');
40206
- th.innerHTML = this.model.columLables[i];
40207
+ th.innerHTML = this.model.columLabels[i];
40207
40208
  th.style.cssText = `width: ${this.model.widths[i] / this.model.size.width * 100}%;
40208
40209
  border-style: solid;
40209
40210
  border-color: ${this.model.generalSetting.splitLine};