fantasy-ngzorro 1.4.1 → 1.4.2

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.
@@ -5068,6 +5068,7 @@
5068
5068
  _this.tableCacheOption = value;
5069
5069
  if (_this.tableCacheOption.pageSize && _this.tableCacheOption.pageSize > 10) {
5070
5070
  _this.tablePageSize = _this.tableCacheOption.pageSize;
5071
+ console.log('getInitLocalforage触发tablePageSizeChange事件1');
5071
5072
  _this.tablePageSizeChange.emit(_this.tablePageSize);
5072
5073
  }
5073
5074
  if (!_this.tableCacheOption.colWidths) {
@@ -5077,6 +5078,7 @@
5077
5078
  else {
5078
5079
  _this.tableCacheOption = new TableCacheOption();
5079
5080
  _this.tableCacheOption.pageSize = _this.tablePageSize;
5081
+ console.log('getInitLocalforage触发tablePageSizeChange事件2');
5080
5082
  _this.tablePageSizeChange.emit(_this.tablePageSize);
5081
5083
  }
5082
5084
  _this.initTable();
@@ -5678,9 +5680,11 @@
5678
5680
  this.tableCacheOption.pageSize = this.tablePageSize;
5679
5681
  this.saveTableCacheOption();
5680
5682
  if (reset) {
5683
+ console.log('search触发tablePageSizeChange事件1');
5681
5684
  this.tablePageSizeChange.emit(this.tablePageSize);
5682
5685
  }
5683
5686
  else {
5687
+ console.log('search触发tablePageSizeChange事件2');
5684
5688
  this.tablePageIndexChange.emit(this.tablePageIndex);
5685
5689
  // 触发父组件查询事件
5686
5690
  this.tableSearchEvent.emit(reset);