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

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
@@ -201,7 +201,7 @@
201
201
  #### Features
202
202
  1. 解决manager设置了数值运算写值失败的问题
203
203
 
204
- ## 3.0.0-alpha.50(2022-10-25)
204
+ ## 3.0.0-alpha.51(2022-10-25)
205
205
  ### Web端
206
206
  #### Features
207
207
  1. 解决一个偶发问题,在云组态的元件中设置了增益时,可能出现写完值后会先显示增益后的值并提示超过长度,再关掉弹窗的问题
@@ -27561,7 +27561,7 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
27561
27561
  this.writeValue = writeValue;
27562
27562
  this.showValue = result.showValue;
27563
27563
  if (+this.displayText !== +this.showValue) {
27564
- if (this.numericalOperation) {
27564
+ if (this.numericalOperation || result.enableNumericalOperation) {
27565
27565
  this.writeValueMmodalRef.hide();
27566
27566
  }
27567
27567
  else {
@@ -41214,7 +41214,7 @@ let WriteValueModalComponent = class WriteValueModalComponent {
41214
41214
  value = this.formatWriteValue();
41215
41215
  }
41216
41216
  }
41217
- this.onClosed({ value, showValue });
41217
+ this.onClosed({ value, showValue, enableNumericalOperation: this.enableNumericalOperation });
41218
41218
  }
41219
41219
  close() {
41220
41220
  this.bsModalRef.hide();