@dazhicheng/ui 1.5.52 → 1.5.53

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21824,7 +21824,7 @@ const Ix = /* @__PURE__ */ he({
21824
21824
  var h, p;
21825
21825
  d == null || d.preventDefault(), d == null || d.stopPropagation();
21826
21826
  const A = f(r), g = Tt(await ((h = A.formApi) == null ? void 0 : h.getValues())) ?? {};
21827
- ke(A.handleReset) ? await ((p = A.handleReset) == null ? void 0 : p.call(A, g)) : o.resetForm();
21827
+ ke(A.handleReset) ? await ((p = A.handleReset) == null ? void 0 : p.call(A, g)) : o.resetForm(g, { force: !0 });
21828
21828
  }
21829
21829
  de(
21830
21830
  () => n.value,
@@ -31979,9 +31979,10 @@ const UQ = ["data-testid"], LQ = ["data-testid"], jQ = /* @__PURE__ */ he({
31979
31979
  n
31980
31980
  ), { run: z } = Cc(
31981
31981
  async () => {
31982
- await $.resetForm();
31983
31982
  const _ = await $.getValues();
31984
- $.setLatestSubmissionValues(_), k(_);
31983
+ await $.resetForm(_, { force: !0 });
31984
+ const j = await $.getValues();
31985
+ $.setLatestSubmissionValues(j), (await ($ == null ? void 0 : $.validate())).valid && k(j);
31985
31986
  },
31986
31987
  200,
31987
31988
  { leading: !0 }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/ui",
3
- "version": "1.5.52",
3
+ "version": "1.5.53",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",