@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.
- package/dist/index.js +4 -3
- 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
|
-
$.
|
|
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 }
|