v0.6.50
This commit is contained in:
@@ -359,7 +359,7 @@ let Ht = ye;
|
||||
const Zn = Ht.getInstance(), rn = E.forwardRef(({ listCode: t, base62params: e, className: n, theme: i, themeProps: r, layouts: a, classNames: o, rowSelection: s = null, onDataSourceChange: l }, c) => {
|
||||
const [{ resource: u, primaryKey: p, batchOperations: h = [], itemOperations: g = [], columns: y = [], isConditionFormLayout: w = !1, isTreeSider: S, treeSiderConfig: b, theme: $, themeConfig: k, isItemGridLayout: x, itemGridLayout: { themeConfig: F, ...A } = {}, title: O, isPaginate: N, tabs: V, selectionType: P }, M] = L({ isItemGridLayout: !1, itemGridLayout: {} }), { type: D = P, selectedRowKeys: B, defaultSelectedRowKeys: X, onChange: xe, ...q } = s ?? {}, ce = pr(t, e), [{ dataSource: H, itemOperationsAccess: yt, condition: hi, tab: mi, keyword: fi, page: dn, total: un, pageSize: pn, sider: yi, onConditionChange: wi, onTabChange: bi, onKeywordChange: Ci, onPageChange: ki, onPageSizeChange: Si, onSiderChange: Ei, onReload: jt, payload: xi }, gn] = ur(ce, t, p, u), $i = Sn(l);
|
||||
Vn(() => {
|
||||
$i(H, { page: dn, pageSize: pn, total: un });
|
||||
$i(H, { primaryKey: p, page: dn, pageSize: pn, total: un });
|
||||
}, [H]);
|
||||
const [hn, vi] = zi([], { defaultValue: X ?? [], value: B }), [mn, Pi] = L([]), fn = G(() => D ? mn : H, [D, mn, H]), Ni = Kt(g, yt, H, p), Ti = Kt(h);
|
||||
U(() => {
|
||||
Reference in New Issue
Block a user