ywana-core8 0.0.814 → 0.0.816

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
@@ -7240,6 +7240,8 @@
7240
7240
  });
7241
7241
  };
7242
7242
 
7243
+ console.log("SAVE", form);
7244
+
7243
7245
  var _temp6 = function () {
7244
7246
  if (patch) {
7245
7247
  return Promise.resolve(pageContext.patch(form.id, form)).then(function () {});
@@ -7319,7 +7321,10 @@
7319
7321
  }
7320
7322
 
7321
7323
  function change(next) {
7322
- setForm(next);
7324
+ setForm(function (prev) {
7325
+ console.log("CHANGE", prev, next);
7326
+ return next;
7327
+ });
7323
7328
  }
7324
7329
 
7325
7330
  function canSave() {