@flexem/fc-gui 3.0.0-alpha.51 → 3.0.0-alpha.52

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
@@ -204,4 +204,9 @@
204
204
  ## 3.0.0-alpha.51(2022-10-25)
205
205
  ### Web端
206
206
  #### Features
207
- 1. 解决一个偶发问题,在云组态的元件中设置了增益时,可能出现写完值后会先显示增益后的值并提示超过长度,再关掉弹窗的问题
207
+ 1. 解决一个偶发问题,在云组态的元件中设置了增益时,可能出现写完值后会先显示增益后的值并提示超过长度,再关掉弹窗的问题
208
+
209
+ ## 3.0.0-alpha.52(2022-10-31)
210
+ ### Web端
211
+ #### Features
212
+ 1. FLEXCLOUD-2331: android切换时间后,不显示时间筛选组件,ios切换筛选时间大于24小时,时间格式为增加年月日
@@ -27024,12 +27024,13 @@ class historical_curve_element_HistoricalCurveElement extends conditional_displa
27024
27024
  .text((d) => d);
27025
27025
  const focusWrap = this.rootElement.selectAll('.nv-focusWrap');
27026
27026
  if (focusWrap.size()) {
27027
- const h = focusWrap.attr('transform')
27028
- .slice(0, -1)
27029
- .split(',')[1];
27030
- this.rootElement
27031
- .selectAll('.nv-focusWrap')
27032
- .attr('transform', `translate(0,${Number(h) + 15})`);
27027
+ let h = focusWrap.attr('transform');
27028
+ if (h && h.length && h.indexOf(',') !== -1) {
27029
+ h = h.slice(0, -1).split(',')[1];
27030
+ this.rootElement
27031
+ .selectAll('.nv-focusWrap')
27032
+ .attr('transform', `translate(0,${Number(h) + 15})`);
27033
+ }
27033
27034
  }
27034
27035
  const resizeObserver = new window.MutationObserver(() => {
27035
27036
  this.rootElement