fantasy-ngzorro 1.0.47 → 1.0.49

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.
@@ -1897,6 +1897,9 @@
1897
1897
  return;
1898
1898
  }
1899
1899
  this.filterIndexStore = [];
1900
+ console.log('filterValue', filterValue);
1901
+ console.log('storeFormLinesData', this.storeFormLinesData);
1902
+ console.log('formLines', this.formLines);
1900
1903
  // 根据搜索字符串过滤数据
1901
1904
  /** @type {?} */
1902
1905
  var filteredData = this.storeFormLinesData.filter((/**
@@ -1911,6 +1914,7 @@
1911
1914
  var item = _c.value;
1912
1915
  /** @type {?} */
1913
1916
  var value = data[item.name] ? data[item.name].toString().toLowerCase() : '';
1917
+ console.log('value', value);
1914
1918
  if (value.includes(filterValue)) {
1915
1919
  _this.filterIndexStore.push(index);
1916
1920
  return true;
@@ -1995,6 +1999,9 @@
1995
1999
  */
1996
2000
  function (changes) {
1997
2001
  if (changes['formLinesData'] && JSON.stringify(changes['formLinesData'].currentValue) !== JSON.stringify(changes['formLinesData'].previousValue)) {
2002
+ if (this.storeFormLinesData.length === 0) {
2003
+ this.storeFormLinesData = this.formLinesData;
2004
+ }
1998
2005
  this.init();
1999
2006
  }
2000
2007
  if (changes['totalOption'] && JSON.stringify(changes['totalOption'].currentValue) !== JSON.stringify(changes['totalOption'].previousValue)) {