fantasy-ngzorro 1.3.5 → 1.3.6

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.
@@ -1759,7 +1759,7 @@
1759
1759
  return;
1760
1760
  }
1761
1761
  // 如果是最后一个可输入元素,新增行
1762
- if (x === this.collectDomList.length - 1 && y === this.collectDomList[0].length - 1) {
1762
+ if (!(this.activeDom instanceof ngZorroAntd.NzSelectComponent) && x === this.collectDomList.length - 1 && y === this.collectDomList[0].length - 1) {
1763
1763
  this.addNewLineAndFocus();
1764
1764
  }
1765
1765
  else {
@@ -2104,16 +2104,17 @@
2104
2104
  break;
2105
2105
  case 'Enter':
2106
2106
  console.log('this.activeDom', this.activeDom);
2107
- // if (this.activeDom instanceof NzSelectComponent) {
2108
- // this.activeSelectedComponentOpen = this.activeDom.open;
2109
- // if (this.activeSelectedComponentOpen === false) {
2110
- // console.log('执行过程10');
2111
- // this.focusDom(this.activeDomX, this.activeDomY);
2112
- // }
2113
- // } else if (this.activeDomX === this.collectDomList.length - 1) {
2114
- // console.log('执行过程qqq');
2115
- // this.addNewLineAndFocus();
2116
- // }
2107
+ if (this.activeDom instanceof ngZorroAntd.NzSelectComponent) {
2108
+ this.activeSelectedComponentOpen = this.activeDom.open;
2109
+ if (this.activeSelectedComponentOpen === false) {
2110
+ console.log('执行过程10');
2111
+ this.focusDom(this.activeDomX, this.activeDomY);
2112
+ }
2113
+ }
2114
+ else if (this.activeDomX === this.collectDomList.length - 1) {
2115
+ console.log('执行过程qqq');
2116
+ this.addNewLineAndFocus();
2117
+ }
2117
2118
  break;
2118
2119
  case 'Escape':
2119
2120
  if (this.activeDom instanceof ngZorroAntd.NzSelectComponent) {