Skip to content

Commit

Permalink
fix #1765
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Nov 21, 2017
1 parent fed36fa commit a9eb1d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/TableDataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ export class TableDataStore {
return this.filterText(targetVal, filterVal, cond);
}

filterText(targetVal, filterVal, cond = Const.FILTER_COND_LIKE) {
targetVal = targetVal.toString();
filterText(targetVal = '', filterVal, cond = Const.FILTER_COND_LIKE) {
targetVal = targetVal === null ? '' : targetVal.toString();
filterVal = filterVal.toString();
if (cond === Const.FILTER_COND_EQ) {
return targetVal === filterVal;
Expand Down

0 comments on commit a9eb1d0

Please sign in to comment.