This commit is contained in:
2026-06-17 15:26:17 +08:00
parent c6469e06b9
commit 5be763548e
19 changed files with 19 additions and 19 deletions

View File

@@ -942,7 +942,7 @@ const _r = (t, e, n, i) => ae.redirect(n, e, i), Jr = (t, e = {}, n, i = {}) =>
if (f.isFunction(t)) return f.partialRight(Fn, (r == null ? void 0 : r.code) || t, { status: c, setStatus: u });
}
return (...h) => console.error("useButton unknown widgetType", e, ...h);
}, [t, e, l.getBase62params, l.getSelectedRows]);
}, [t, e, r, a, l.getBase62params, l.getSelectedRows]);
return [f.debounce((h) => (s == null || s(h), Promise.resolve(Tt(i, h, { list: l })).then((g) => p(h, { ...n, ...g })).then((g) => o == null ? void 0 : o(g)).catch(console.error)), 300, { leading: !0, trailing: !1 }), c];
}, ui = ({ type: t, name: e, className: n, icon: i, iconPosition: r, size: a }, o = "default") => z(() => {
const s = { type: "primary", className: j("ff-button", n), iconPosition: r, size: a };