ywana-core8 0.0.29 → 0.0.34

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.
package/dist/index.cjs CHANGED
@@ -4452,7 +4452,6 @@ var TableAPI = function TableAPI(url) {
4452
4452
  var queryParams = "?";
4453
4453
 
4454
4454
  if (filters) {
4455
- console.log('filters', filters);
4456
4455
  var filterQuery = Object.keys(filters).reduce(function (query, key) {
4457
4456
  var value = filters[key];
4458
4457
 
@@ -4460,7 +4459,7 @@ var TableAPI = function TableAPI(url) {
4460
4459
  return query.concat(key + "=" + value + "&");
4461
4460
  } else if (Array.isArray(value)) {
4462
4461
  var param = value.length === 0 ? '' : value.reduce(function (param, item) {
4463
- param.concat(key + "=" + item + "&");
4462
+ param = param.concat(key + "=" + item + "&");
4464
4463
  return param;
4465
4464
  }, "");
4466
4465
  console.log(param);
@@ -4469,7 +4468,6 @@ var TableAPI = function TableAPI(url) {
4469
4468
  return query.concat(key + "=%" + filters[key] + "%&");
4470
4469
  }
4471
4470
  }, "");
4472
- console.log('filterQuery');
4473
4471
  queryParams = queryParams.concat(filterQuery);
4474
4472
  }
4475
4473