ywana-core8 0.0.413 → 0.0.414

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.umd.js CHANGED
@@ -1298,7 +1298,7 @@
1298
1298
  var id = _ref4[0],
1299
1299
  field = _ref4[1];
1300
1300
  form[id] = Object.assign({}, field, {
1301
- value: data[id]
1301
+ value: data[id] || field.defValue
1302
1302
  });
1303
1303
  return form;
1304
1304
  }, {});
@@ -5769,13 +5769,6 @@
5769
5769
  for (var key in fs) {
5770
5770
  if (fs[key].filter === false) delete fs[key];
5771
5771
  }
5772
- } // TODO: check this
5773
-
5774
-
5775
- if (filterSchema[key].defValue) {
5776
- var _change;
5777
-
5778
- change((_change = {}, _change[key] = filterSchema[key].defValue, _change));
5779
5772
  }
5780
5773
  }
5781
5774
  } //Object.values(filterSchema).forEach(field => field.section = null)