fantasy-ngzorro 1.3.6 → 1.3.8

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.
@@ -2005,6 +2005,17 @@ class HdFormLinesComponent {
2005
2005
  });
2006
2006
  this.newLine = this.newLineItem();
2007
2007
  }
2008
+ /**
2009
+ * @return {?}
2010
+ */
2011
+ delayJumpToNextInput() {
2012
+ setTimeout((/**
2013
+ * @return {?}
2014
+ */
2015
+ () => {
2016
+ this.jumpToNextInput(this.activeDomX, this.activeDomY);
2017
+ }), 0);
2018
+ }
2008
2019
  /**
2009
2020
  * 定义空的newLineItem 结构
2010
2021
  * @private
@@ -2041,7 +2052,7 @@ class HdFormLinesComponent {
2041
2052
  */
2042
2053
  value => {
2043
2054
  if (item.type === FormLineType.Select && value !== null) {
2044
- this.jumpToNextInput(this.activeDomX, this.activeDomY);
2055
+ this.delayJumpToNextInput();
2045
2056
  }
2046
2057
  this.triggerEvent(item.onChangeEvent, value, formGroupSubmit);
2047
2058
  }));
@@ -2053,7 +2064,7 @@ class HdFormLinesComponent {
2053
2064
  */
2054
2065
  value => {
2055
2066
  if (item.type === FormLineType.Select && value !== null) {
2056
- this.jumpToNextInput(this.activeDomX, this.activeDomY);
2067
+ this.delayJumpToNextInput();
2057
2068
  }
2058
2069
  this.triggerEvent(item.onChangeEvent, value, formGroupSubmit);
2059
2070
  }));
@@ -2118,7 +2129,7 @@ class HdFormLinesComponent {
2118
2129
  */
2119
2130
  value => {
2120
2131
  if (item.type === FormLineType.Select && value !== null) {
2121
- this.jumpToNextInput(this.activeDomX, this.activeDomY);
2132
+ this.delayJumpToNextInput();
2122
2133
  }
2123
2134
  this.triggerEvent(item.onChangeEvent, value, formGroupTmp);
2124
2135
  }));
@@ -2130,7 +2141,7 @@ class HdFormLinesComponent {
2130
2141
  */
2131
2142
  value => {
2132
2143
  if (item.type === FormLineType.Select && value !== null) {
2133
- this.jumpToNextInput(this.activeDomX, this.activeDomY);
2144
+ this.delayJumpToNextInput();
2134
2145
  }
2135
2146
  this.triggerEvent(item.onChangeEvent, value, formGroupTmp);
2136
2147
  }));