Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -503,10 +503,12 @@ var TableDataStore = function () {
}
}, {
key: 'filterText',
value: function filterText(targetVal, filterVal) {
value: function filterText() {
var targetVal = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
var filterVal = arguments[1];
var cond = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _Const2.default.FILTER_COND_LIKE;
targetVal = targetVal.toString();
targetVal = targetVal === null ? '' : targetVal.toString();
filterVal = filterVal.toString();
if (cond === _Const2.default.FILTER_COND_EQ) {
return targetVal === filterVal;